build: Replace the android-specific script to build OpenSSL with the shared one.

This commit is contained in:
2025-02-02 15:16:51 -05:00
parent df83187e33
commit 87cdba1db8
3 changed files with 12 additions and 140 deletions

View File

@ -1,13 +1,15 @@
#!/usr/bin/env bash
BUILD_PLATFORM=$(uname -s)
if [[ -z $BUILD_PLATFORM ]]; then
BUILD_PLATFORM=$(uname -s)
fi
if [[ -z $BUILD_TARGET ]]; then
BUILD_TARGET=$(uname -m)
WORK_DIR=out/openssl-local
else
WORK_DIR=out/openssl-$BUILD_TARGET
WORK_DIR=out/openssl-$BUILD_PLATFORM-$BUILD_TARGET
if [[ -z $SSL_TARGET ]]; then
SSL_TARGET=linux-$BUILD_TARGET
SSL_TARGET=linux-$BUILD_PLATFORM-$BUILD_TARGET
fi
fi