diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-06-13 15:00:09 +0200 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-06-13 15:00:09 +0200 |
| commit | 21e05d6ef33aa3fc6e2550da3b2200d3bcedfc35 (patch) | |
| tree | 1fda03cf4b0ebed447279b7a68bb65eb0ab63e96 /build_single.sh | |
| parent | 0818d7cdc8d051a704c94f33571324cc42b5f8b1 (diff) | |
i hate arm
Diffstat (limited to 'build_single.sh')
| -rwxr-xr-x | build_single.sh | 7 |
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 |
