21 lines
641 B
Diff
21 lines
641 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
index 99c16ca..048b7d0 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -14,6 +14,7 @@ AS_CASE([$host_os],
|
|
[netbsd*], [PLATFORM="bsd"],
|
|
[*nto*|*qnx*], [PLATFORM="qnx"],
|
|
[*solaris*], [PLATFORM="solaris"],
|
|
+ [*android*], [PLATFORM="android"],
|
|
[PLATFORM="nix"])
|
|
|
|
AC_ARG_WITH([libxml2],
|
|
@@ -90,6 +91,7 @@ AS_CASE([$PLATFORM],
|
|
[bsd], [RESOLV_LIBS=""],
|
|
[qnx], [RESOLV_LIBS="-lsocket"],
|
|
[solaris], [RESOLV_LIBS="-lresolv -lsocket -lnsl"],
|
|
+ [android], [RESOLV_LIBS=""],
|
|
[RESOLV_LIBS="-lresolv"])
|
|
|
|
LIBS_TMP="${LIBS}"
|