Skip to content

Commit 31f4451

Browse files
committed
fix(windows/Makefile): revert last commit
1 parent 20266bc commit 31f4451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ LDFLAGS = -L$(RUST_TARGET_DIR)/release
5555
# Platform-specific settings
5656
ifeq ($(PLATFORM),windows)
5757
TARGET := $(DIST_DIR)/mcp.dll
58-
LDFLAGS += -shared -Wl,--dead_strip
58+
LDFLAGS += -shared -Wl,--gc-sections
5959
DEF_FILE := $(BUILD_DIR)/mcp.def
6060
STRIP = strip --strip-unneeded $@
6161
LIBS = -lmcp_ffi -lws2_32 -luserenv -lbcrypt -lntdll -lgcc -lgcc_eh -lpthread

0 commit comments

Comments
 (0)