gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated: document cross-compile to Android


From: gnunet
Subject: [libmicrohttpd] branch master updated: document cross-compile to Android, fixes #4913
Date: Sat, 30 Jan 2021 13:00:04 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 0394bc72 document cross-compile to Android, fixes #4913
0394bc72 is described below

commit 0394bc7213794b463e7edc110cd3ce2ab3ee261b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Jan 30 12:59:04 2021 +0100

    document cross-compile to Android, fixes #4913
---
 doc/libmicrohttpd.texi | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

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
 @item ``--with-gnutls=PATH''
 specifies path to libgnutls installation
 
-
 @end table
 
+To cross-compile MHD for Android, install the Android NDK and use:
+@verbatim
+./configure --target=arm-linux-androideabi --host=arm-linux-androideabi 
--disable-doc --disable-examples
+make
+@end verbatim
+
+Similar build commands should work for cross-compilation to other platforms.
+Note that you may have to first cross-compile GnuTLS to get MHD with TLS 
support.
+
+
 @section Validity of pointers
 
 MHD will give applications access to its internal data structures

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]