Skip to content

Commit 0219904

Browse files
committed
Update Makefile for Windows platform: adjust LDFLAGS to reorder static and dynamic library flags
1 parent 0212ad4 commit 0219904

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ MINIAUDIO_LIBS = $(BUILD_MINIAUDIO)/libminiaudio.a
6666
# Platform-specific settings
6767
ifeq ($(PLATFORM),windows)
6868
TARGET := $(DIST_DIR)/ai.dll
69-
LDFLAGS += -lbcrypt -lgomp -static-libgcc -Wl,--push-state,-Bstatic,-lstdc++,-lwinpthread,--pop-state -shared
69+
LDFLAGS += -lbcrypt -static-libgcc -Wl,--push-state,-Bstatic,-lstdc++,-lwinpthread,-lgomp,--pop-state -shared
7070
DEF_FILE := $(BUILD_DIR)/ai.def
7171
STRIP = strip --strip-unneeded $@
7272
else ifeq ($(PLATFORM),macos)

0 commit comments

Comments
 (0)