Skip to content

Commit 55a23ac

Browse files
committed
tweak makefile
1 parent abae183 commit 55a23ac

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
@@ -45,8 +45,8 @@ endef
4545
define forWindows
4646
ldflags += -Wl,--allow-multiple-definition
4747
ldflags += -static-libgcc -static-libstdc++
48-
ldflags += -Wl,-Bstatic -lpthread -Wl,-Bdynamic
4948
ldflags += -Wl,--as-needed
49+
ldflags += -Wl,-Bstatic,--whole-archive -lpthread -Wl,--no-whole-archive,-Bdynamic
5050
endef
5151

5252
PDLIBBUILDER_DIR=dep/pd-lib-builder

0 commit comments

Comments
 (0)