@@ -70,7 +70,7 @@ ifeq ($(PLATFORM),windows)
7070else ifeq ($(PLATFORM),macos)
7171 TARGET := $(DIST_DIR ) /cloudsync.dylib
7272 LDFLAGS += -arch x86_64 -arch arm64 -framework Security -dynamiclib -undefined dynamic_lookup
73- T_LDFLAGS = -framework Security -lpthread
73+ T_LDFLAGS = -framework Security
7474 CFLAGS += -arch x86_64 -arch arm64
7575 CURL_CONFIG = --with-secure-transport CFLAGS="-arch x86_64 -arch arm64"
7676else ifeq ($(PLATFORM),android)
@@ -96,7 +96,6 @@ else ifeq ($(PLATFORM),android)
9696 CURL_CONFIG = --host $(ARCH ) -$(HOST ) -android26 --with-openssl=$(BIN ) /../sysroot/usr LIBS="-lssl -lcrypto" AR=$(BIN ) /llvm-ar AS=$(BIN ) /llvm-as CC=$(CC ) CXX=$(BIN ) /$(ARCH ) -linux-android26-clang++ LD=$(BIN ) /ld RANLIB=$(BIN ) /llvm-ranlib STRIP=$(BIN ) /llvm-strip
9797 TARGET := $(DIST_DIR ) /cloudsync.so
9898 LDFLAGS += -shared -lcrypto -lssl
99- T_LDFLAGS = -lpthread
10099else ifeq ($(PLATFORM),ios)
101100 TARGET := $(DIST_DIR ) /cloudsync.dylib
102101 SDK := -isysroot $(shell xcrun --sdk iphoneos --show-sdk-path) -miphoneos-version-min=11.0
@@ -115,7 +114,6 @@ else # linux
115114 TARGET := $(DIST_DIR ) /cloudsync.so
116115 LDFLAGS += -shared -lssl -lcrypto
117116 CURL_CONFIG = --with-openssl
118- T_LDFLAGS = -lpthread
119117endif
120118
121119ifneq ($(COVERAGE ) ,false)
0 commit comments