Skip to content

kingbeful/libopenssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

libopenssl

Build Steps

  • Get the code
git clone https://github.com/kingbeful/libopenssl.git
cd libopenssl/
  • Download the openssl source code (e.g. openssl-1.0.1p.tar.gz)
curl -O https://www.openssl.org/source/openssl-1.0.1p.tar.gz
  • Compile for iOS

Go to the ios directory. Modify below line in run.sh

# change the SDK version
if [ -z $1 ]; then
	SDK_VERSION="9.1"
else
	SDK_VERSION=$1
fi

# change the openssl version
OPENSSL_VERSION="openssl-1.0.1p"

Then

./run.sh
  • Compile for android

Go to the android directory. Modify below line in run.sh

OPENSSL_VERSION="openssl-1.0.1p"

Set the correct values according your environment in Setenv-android.sh

_ANDROID_NDK="android-ndk-r8e"
_ANDROID_EABI="arm-linux-androideabi-4.6"
_ANDROID_ARCH=arch-arm
_ANDROID_API="android-14"

Then

./run.sh

About

scripts for building openssl library on both android and iOS platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages