title: Using cURL in Android
body: <p>I would like to use cURL library in my android application in native code (using NDK r5b, the latest). After researching online, it seems the only way to use cURL in android is to build the entire android source tree with curl in it, and somehow this generates a necessary config file for cURL to work on Android. I don't have any experience building the android sources from scratch and was wondering if there is a way to use cURL library in Android without having to rebuild android from source. Ideally, being able to just use cURL as a static or shared library would be perfect. I tried following the steps mentioned here...</p>
  
  <p><a href="http://curl.haxx.se/mail/lib-2009-12/0071.html" rel="noreferrer">http://curl.haxx.se/mail/lib-2009-12/0071.html</a></p>
  
  <p>but end up getting errors in the file curlrules.h like <code>CURL_SIZEOF_LONG definition is missing!</code></p>
  
  <p>I assume these errors are due to not having that config file I mentioned but the steps in the above link didn't mention any of that and reported success. Any ideas?</p>