Skip to content

Commit 95c8c76

Browse files
committed
windows force curl static lib in the cflags
1 parent 61b2f92 commit 95c8c76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ ifeq ($(PLATFORM),windows)
5252
LDFLAGS += -shared -lws2_32
5353
# Create .def file for Windows
5454
DEF_FILE := $(BUILD_RELEASE)/cloudsync.def
55+
CFLAGS += -DCURL_STATICLIB
5556
else ifeq ($(PLATFORM),macos)
5657
TARGET := $(DIST_DIR)/cloudsync.dylib
5758
LDFLAGS += -arch x86_64 -arch arm64 -framework Security -dynamiclib -undefined dynamic_lookup

0 commit comments

Comments
 (0)