Skip to content

Commit 5e7d4fd

Browse files
committed
windows missing link against crypt and secur
1 parent 95c8c76 commit 5e7d4fd

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
@@ -49,7 +49,7 @@ COV_FILES = $(filter-out $(SRC_DIR)/lz4.c $(SRC_DIR)/network.c, $(SRC_FILES))
4949
# Platform-specific settings
5050
ifeq ($(PLATFORM),windows)
5151
TARGET := $(DIST_DIR)/cloudsync.dll
52-
LDFLAGS += -shared -lws2_32
52+
LDFLAGS += -shared -lbcrypt -lcrypt32 -lsecur32 -lws2_32
5353
# Create .def file for Windows
5454
DEF_FILE := $(BUILD_RELEASE)/cloudsync.def
5555
CFLAGS += -DCURL_STATICLIB

0 commit comments

Comments
 (0)