We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 159cdd4 commit 20266bcCopy full SHA for 20266bc
Makefile
@@ -55,7 +55,7 @@ LDFLAGS = -L$(RUST_TARGET_DIR)/release
55
# Platform-specific settings
56
ifeq ($(PLATFORM),windows)
57
TARGET := $(DIST_DIR)/mcp.dll
58
- LDFLAGS += -shared -Wl,--gc-sections
+ LDFLAGS += -shared -Wl,--dead_strip
59
DEF_FILE := $(BUILD_DIR)/mcp.def
60
STRIP = strip --strip-unneeded $@
61
LIBS = -lmcp_ffi -lws2_32 -luserenv -lbcrypt -lntdll -lgcc -lgcc_eh -lpthread
0 commit comments