david-hoze / build-openssl-android

Builds openssl 1.1.0h with android ndk r17.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build-openssl-android

Builds openssl library for android. Based on https://github.com/sqlcipher/android-database-sqlcipher/blob/gradle/android-database-sqlcipher/build-openssl-libraries.sh.

Usage

You must first install Android NDK and then build the openssl library with command like this:

ANDROID_NDK_ROOT=/Users/willyliu/Library/Android/sdk/ndk-bundle sh ./build-openssl-android.sh 16 21

The first number is the API_LEVEL for 32bit library, and the second number is the API_LEVEL for 64bit library.

The result will be in the openssl-lib directory.

About

Builds openssl 1.1.0h with android ndk r17.


Languages

Language:Shell 100.0%