Skip to content

Commit 5ffb191

Browse files
committed
windows missing winsock and bcrypt linker flags in the test executable
1 parent 5e7d4fd commit 5ffb191

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
@@ -50,6 +50,7 @@ COV_FILES = $(filter-out $(SRC_DIR)/lz4.c $(SRC_DIR)/network.c, $(SRC_FILES))
5050
ifeq ($(PLATFORM),windows)
5151
TARGET := $(DIST_DIR)/cloudsync.dll
5252
LDFLAGS += -shared -lbcrypt -lcrypt32 -lsecur32 -lws2_32
53+
TEST_FLAGS += -lws2_32 -lbcrypt
5354
# Create .def file for Windows
5455
DEF_FILE := $(BUILD_RELEASE)/cloudsync.def
5556
CFLAGS += -DCURL_STATICLIB

0 commit comments

Comments
 (0)