unable to crosscompile openssl 1.1.1c for android (api 28) arm 64 bits
Unsolved
Mobile and Embedded
-
-
I have not tried openssl 1.1.1c.
I had problem with using NDK 19 r2 and openssl 1.1.1bI used NDK 10e for compiling openssl 1.1.1b
I used the following script below to configure/compile the lib. For the Qt android project I used NDK 19 and SDK 28.
#!/bin/sh
export ANDROID_NDK_HOME="/home/3thdev/android-ndk-r10e"
export PATH=$ANDROID_NDK_HOME/toolchains/aarch64-linux-android-4.9/prebuilt/linu
x-x86_64/bin:$PATH
CurDir=pwd
Options for configure/compiling OpenSSL
Options="shared no-ssl3 no-comp no-hw no-engine"
./Configure $Options --prefix=$CurDir/runtime --openssldir=$CurDir/runtime
android-arm64 -D__ANDROID_API__=21
make SHLIB_VERSION_NUMBER= SHLIB_EXT=.so -
I see my script is a bit message up. Anyway it is readable.