curl / Mailing Lists / curl-library / Single Mail


Re: How to build for Android

From: Andreas Falkenhahn via curl-library <>
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:

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                  
Received on 2019-03-18