Openssl - build with android-ndk(arm64-v8a)

Openssl
Post Reply
voyzer
Site Admin
Posts: 36
Joined: 2022 Jul 06 16:57

Openssl - build with android-ndk(arm64-v8a)

Post by voyzer »

1. export ndk-path
voyzer@debian:/workplace/openssl/openssl_v3.4.0$ export ANDROID_NDK_ROOT=/workplace/android-ndk/android-ndk-r26d

2. Add ndk bin path
voyzer@debian:/workplace/openssl/openssl_v3.4.0$ PATH=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH


3. openssl configure
voyzer@debian:/workplace/openssl/openssl_v3.4.0$ voyzer@debian:/workplace/openssl/openssl_v3.4.0$ ./Configure enable-fips enable-tfo shared android-arm64 --prefix=/workplace/openssl/release_arm64-v8a

Configuring OpenSSL version 3.4.0-dev for target android-arm
Using os-specific seed configuration
Created configdata.pm
Running configdata.pm
Created Makefile.in
Created Makefile
Created include/openssl/configuration.h

**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL.md file first) ***
*** ***
**********************************************************************

4. build
make
make test
make install
Post Reply