Skip to content

Commit c518d2b

Browse files
committed
android test boringssl and curl without c++
1 parent dbcd6b8 commit c518d2b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
configure:
3939
--host aarch64-linux-android26
4040
--with-openssl=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr
41-
LIBS="-lssl -lcrypto -lc++"
41+
LIBS="-lssl -lcrypto"
4242
AR=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar
4343
AS=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-as
4444
CC=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android26-clang
@@ -55,7 +55,7 @@ jobs:
5555
configure:
5656
--host x86_64-linux-android26
5757
--with-openssl=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr
58-
LIBS="-lssl -lcrypto -lc++"
58+
LIBS="-lssl -lcrypto"
5959
AR=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar
6060
AS=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-as
6161
CC=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android26-clang

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ else ifeq ($(PLATFORM),android)
6666
$(error "CC must be set to the Android NDK's Clang compiler")
6767
endif
6868
TARGET := $(DIST_DIR)/cloudsync.so
69-
LDFLAGS += -shared -lcrypto -lssl -lc++
69+
LDFLAGS += -shared -lcrypto -lssl
7070
else ifeq ($(PLATFORM),ios)
7171
TARGET := $(DIST_DIR)/cloudsync.dylib
7272
SDK := -isysroot $(shell xcrun --sdk iphoneos --show-sdk-path) -miphoneos-version-min=11.0

0 commit comments

Comments
 (0)