Files
pay/android/docker/scripts/buildOpenSsl.sh
tomFlowee fa600058db Update build env to latest Qt and Android NDK/SDK
This upgrades to the latest stable Qt (6.8.3) to my surprise the
translator patch still is required and they didn't fix that bug
for 2 bugfix releases now.
2025-08-02 13:45:24 +02:00

24 lines
656 B
Bash
Executable File

#!/bin/bash
# this runs as root.
VERSION=3.1.3
echo "Using OpenSSL $VERSION" >> /etc/versions
source /etc/profile
cd /usr/local/cache
if ! test -f openssl-$VERSION.tar.gz; then
wget https://github.com/openssl/openssl/releases/download/openssl-$VERSION/openssl-$VERSION.tar.gz
fi
cd ~builduser
export PATH="/opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
tar xf /usr/local/cache/openssl-$VERSION.tar.gz
cd openssl-$VERSION
./Configure shared android-arm64 --prefix=/opt/android-ssl
# don't compress these two into one, 'install' doesn't like -j
make -j`nproc` 2>&1 >/dev/null
make install 2>&1 >/dev/null
echo "SSL $VERSION DONE"