![]() ![]() ![]() Root needs some of the user's environment $ make all Install the OpenSSL Library # The -E is important. openssldir=/usr/local/ssl/$ANDROID_API -prefix=/usr/local/ssl/$ANDROID_API config shared no-ssl2 no-ssl3 no-comp no-hw no-engine \ $ perl -pi -e 's/install: all install_docs install_sw/install: install_docs install_sw/g' # Perl is optional, and may fail in OpenSSL 1.1.0 ![]() $ chmod a+x setenv-android.sh Build the OpenSSL Library # From the 'root' directory Prepare the OpenSSL Sources # From the 'root' directory The files can be obtained from, , and below (see Downloads section). ANDROID_API and ANDROID_TOOLCHAIN will be set by the setenv-android.sh script. Before running the commands download openssl-1.0.1g.tar.gz and setenv-android.sh place the files in the same directory (the 'root' directory mentioned below) ensure ANDROID_NDK_ROOT is set and verify setenv-android.sh suites your taste. Use the following commands to build and install the OpenSSL library for Android. 2.6 Compile and Link against the Library.1.4 Compile and Link against the Library. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |