Skip to content

Commit e1f5a32

Browse files
committed
revert last commits
1 parent 01aea2d commit e1f5a32

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ ifeq ($(PLATFORM),windows)
7070
else 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"
7676
else 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
10099
else 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
119117
endif
120118

121119
ifneq ($(COVERAGE),false)

0 commit comments

Comments
 (0)