summaryrefslogtreecommitdiff
path: root/build_single.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_single.sh')
-rwxr-xr-xbuild_single.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/build_single.sh b/build_single.sh
index 7a2c44e..7f5110e 100755
--- a/build_single.sh
+++ b/build_single.sh
@@ -379,7 +379,12 @@ pushd release/$repo
fi
if [[ "$HOST_ABI" == "x86_64-linux-android" || "$HOST_ABI" == "i686-linux-android" || "$HOST_ABI" == "aarch64-linux-android" || "$HOST_ABI" == "armv7a-linux-androideabi" ]];
then
- cp ../../$repo/contrib/depends/${HOST_ABI}/native/sysroot/usr/lib/${HOST_ABI}/libc++_shared.so ${HOST_ABI}_libc++_shared.so
+ SYSROOT_TRIPLET=${HOST_ABI}
+ if [[ "${HOST_ABI}" == "armv7a-linux-androideabi" ]];
+ then
+ SYSROOT_TRIPLET="arm-linux-androideabi"
+ fi
+ cp ../../$repo/contrib/depends/${HOST_ABI}/native/sysroot/usr/lib/${SYSROOT_TRIPLET}/libc++_shared.so ${HOST_ABI}_libc++_shared.so
rm ${HOST_ABI}_libc++_shared.so.xz || true
xz -e ${HOST_ABI}_libc++_shared.so
fi