Skip to content

xv-tom-l/build-openssl-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

build-openssl-android

A simple bash script for building openssl android.

Setup Android Development on Mac OS X

  • Install Android SDK and NDK
brew install android android-ndk ant makedepend
  • Edit ~/.bashrc and add:
# Android SDK
export ANDROID_SDK_ROOT=/usr/local/Cellar/android-sdk/23.0.2
export ANDROID_NDK_ROOT=/usr/local/Cellar/android-ndk/r10b
  • Run
source ~/.bashrc

Usage: ./build-openssl-android.sh <version>

  • Build openssl-1.0.1j
./build-openssl-android.sh 1.0.1j
  • Build openssl-1.0.2-beta3
./build-openssl-android.sh 1.0.2-beta3
  • Build for Android-L
# Install Android-L sdk using `android` command first
_ANDROID_API="android-L" ./build-openssl-android.sh

Reference

About

A simple bash script for compiling openssl for android on Mac OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages