]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
android: Skip unknown ABIs when building OpenSSL
authorTobias Brunner <tobias@strongswan.org>
Fri, 21 Mar 2025 07:44:15 +0000 (08:44 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 14 Apr 2025 09:54:42 +0000 (11:54 +0200)
Newer NDKs have RISC-V as experimental ABI (not enabled by default, see
next commit).  If we don't have a mapping for a specific target, OpenSSL
falls back to 'android-arm', so that won't really work (interestingly,
it does build).

src/frontends/android/openssl/compile.sh

index 4c81a92f5743f8c3430dca4af0e7502ad4657017..86bd15c5c9a186df091031a38c421d7190d1d3ca 100755 (executable)
@@ -35,6 +35,10 @@ x86)
 x86_64)
        OPTIONS="android-x86_64"
        ;;
+*)
+       echo "!! Skipping unknown ABI '${ABI}'"
+       continue
+       ;;
 esac
 
 OPTIONS="${OPTIONS} \