Instantly share code, notes, and snippets.

Embed
What would you like to do?
Android Crystax build OpenSSL

You have Crystax installed in /opt/crystax

CRYSTAX_ROOT=/opt/crystax

Which version does crystax expect?

ls ${CRYSTAX_ROOT}/sources/openssl/

it should give something like 1.0.1p

mkdir /opt/crystax/sources/openssl/1.0.1p/src
cd /opt/crystax/sources/openssl/1.0.1p/src
wget https://www.openssl.org/source/old/1.0.1/openssl-1.0.1p.tar.gz
tar xpvf openssl-1.0.1p.tar.gz

Compile it!

cd ${CRYSTAX_ROOT}
./build/tools/build-target-openssl.sh /opt/crystax/sources/openssl/1.0.1p/src/openssl-1.0.1p

Now it should compile it for all architectures:

Building OpenSSL-1.0.1p for armeabi
Building OpenSSL-1.0.1p for armeabi-v7a
Building OpenSSL-1.0.1p for x86
Building OpenSSL-1.0.1p for mips
Building OpenSSL-1.0.1p for armeabi-v7a-hard
Building OpenSSL-1.0.1p for arm64-v8a
Building OpenSSL-1.0.1p for x86_64
Building OpenSSL-1.0.1p for mips64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment