aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-30 12:59:04 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-30 12:59:04 +0100
commit0394bc7213794b463e7edc110cd3ce2ab3ee261b (patch)
treee655df97aa98e715d16110a2e1d2b38aa9afe8c6
parent2968329166f04b72c96dac975877deef2e013775 (diff)
downloadlibmicrohttpd-0394bc7213794b463e7edc110cd3ce2ab3ee261b.tar.gz
libmicrohttpd-0394bc7213794b463e7edc110cd3ce2ab3ee261b.zip
document cross-compile to Android, fixes #4913
-rw-r--r--doc/libmicrohttpd.texi11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index e82ba393..461ba3ac 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -286,9 +286,18 @@ specifies path to libgcrypt installation
286@item ``--with-gnutls=PATH'' 286@item ``--with-gnutls=PATH''
287specifies path to libgnutls installation 287specifies path to libgnutls installation
288 288
289
290@end table 289@end table
291 290
291To cross-compile MHD for Android, install the Android NDK and use:
292@verbatim
293./configure --target=arm-linux-androideabi --host=arm-linux-androideabi --disable-doc --disable-examples
294make
295@end verbatim
296
297Similar build commands should work for cross-compilation to other platforms.
298Note that you may have to first cross-compile GnuTLS to get MHD with TLS support.
299
300
292@section Validity of pointers 301@section Validity of pointers
293 302
294MHD will give applications access to its internal data structures 303MHD will give applications access to its internal data structures