Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.14 KB

README.md

File metadata and controls

36 lines (29 loc) · 1.14 KB

curl-android-ios + openssl with GOST built-in

The goal of this project is to provide a pre-compiled version of libcurl with openssl to be used in Android and iOS.

It uses cURL from the upstream repository and it's updated frequently.

For Android, it also uses OpenSSL from its upstream repository. GOST is enabled for android and doesn't require any openssl.cnf changes.

If you want to build the library, scripts are provided for both platforms. Test projects are also provided for both iOS and Android.

Building

  • Clone this repo git clone [email protected]:gcesarmza/curl-android-ios.git
  • Clone submodules git submodule init && git submodule update
  • Make sure you have installed autoconf, automake and libtool or install them with apt-get or brew
  • When building on Mac OS make sure you have Xcode Command Line Developer Tools installed
xcode-select --install

Building for Android:

  • Download Android NDK
patch -p0 <ssl_ciph.patch
cd curl-android-ios/curl-compile-scripts
export NDK_ROOT=PATH_WHERE_NDK_IS
./build_Android.sh

Building for iOS

cd curl-android-ios/curl-compile-scripts
./build_iOS.sh