Suru
Suru

Reputation: 31

libcurl for android ndk-build with out android source

I tried to build the libcurl with andriod ndk with the information provided in this link https://github.com/jahrome/curl-android.git but I could not do it because it needs android source code also ... Is there any other way to make the CURL build for android ndk-build..

Upvotes: 0

Views: 2436

Answers (2)

Victor  Laskin
Victor Laskin

Reputation: 2647

I suggest building libcurl inside docker container - http://vitiy.info/dockerfile-example-to-compile-libcurl-for-android-inside-docker-container/

In short - download NDK, make stand-alone toolchain with make-standalone-toolchain.sh script, set env variables to toolchain compiler and build all libs with cross-compilation configure flags (if necessary).

Upvotes: 1

Related Questions