From 1f88f05321dd7b3ee04a97bb9245ff1f77f8b8af Mon Sep 17 00:00:00 2001 From: Sergii Pylypenko Date: Sat, 8 Jan 2022 19:40:17 +0200 Subject: [PATCH] Fixed Boost built for incorrect API level --- project/jni/Makefile.prebuilt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/jni/Makefile.prebuilt b/project/jni/Makefile.prebuilt index 319e28e60..998bdf4ec 100644 --- a/project/jni/Makefile.prebuilt +++ b/project/jni/Makefile.prebuilt @@ -81,7 +81,7 @@ $(OPENSSL): openssl/compile.sh $(BOOST): boost/src/build-android.sh rm -rf boost/include boost/lib ; \ cd boost/src && \ - ./build-android.sh --boost=1.78.0 --with-iconv --arch=$(shell echo $(foreach ARCH, $(ARCHES32) $(ARCHES64),$(ARCH),) | tr -d ' ') && \ + ./build-android.sh --boost=1.78.0 --with-iconv --target-version=16 --arch=$(shell echo $(foreach ARCH, $(ARCHES32) $(ARCHES64),$(ARCH),) | tr -d ' ') && \ for ARCH in $(ARCHES32) $(ARCHES64); do \ mkdir -p ../lib/$$ARCH ../include ; \ $(foreach NAME, $(BOOST_LIBS), cp -f build/out/$$ARCH/lib/libboost_$(NAME)-clang-mt-*.a ../lib/$$ARCH/libboost_$(NAME).a || exit 1 ;) \