curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to build for Android

From: Andreas Falkenhahn via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 18 Mar 2019 19:44:35 +0100

On 17.03.2019 at 23:54 Daniel Stenberg wrote:

> On Sun, 17 Mar 2019, Andreas Falkenhahn via curl-library wrote:

>> However, in docs/INSTALL there doesn't seem to be any Android section at
>> all?! Nor is there any word on how to build for Android. So where can I
>> learn about those "alternate methods"?

> If someone brings an instruction for this, we'll add it to our documentation.
> We can only document what we know and have been informed about. I personally
> don't know a lot about building for Android.

> Googling for this topic there seems to be a few different instructions "out
> there" but I'm not able to tell which ones out of them that are good... =(

Here is a project that provides prebuilt static link libraries for Android:
https://github.com/gcesarmza/curl-android-ios

Judging from this project it looks like there is no way to dynamically link
against the SSL stack that ships with Android and the only way to use curl
from the NDK is to link statically against the whole OpenSSL shebang...

-- 
Best regards,
 Andreas Falkenhahn                            mailto:andreas_at_falkenhahn.com
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-03-18