We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9f533f commit 4e0f9efCopy full SHA for 4e0f9ef
1 file changed
Makefile
@@ -181,6 +181,10 @@ ifeq ($(PLATFORM),windows)
181
STRIP = strip --strip-unneeded $@
182
else
183
LDFLAGS += -shared -lbcrypt -lgomp -lstdc++
184
+ # Fix for GGML_STATIC Windows builds - resolve symbol conflicts
185
+ ifneq (,$(findstring GGML_STATIC=ON,$(LLAMA)))
186
+ LDFLAGS += -Wl,--allow-multiple-definition
187
+ endif
188
# Add support for dynamic backend loading
189
ifneq (,$(findstring GGML_BACKEND_DL=ON,$(LLAMA)))
190
LDFLAGS += -ldl
0 commit comments