Browse Source

Fix configure.ac patch to be more general

android-5
Fredrik Fornwall 8 years ago
parent
commit
2080a2ae0c
  1. 4
      packages/libstrophe/configure.ac.patch

4
packages/libstrophe/configure.ac.patch

@ -6,7 +6,7 @@ index 99c16ca..048b7d0 100644
[netbsd*], [PLATFORM="bsd"], [netbsd*], [PLATFORM="bsd"],
[*nto*|*qnx*], [PLATFORM="qnx"], [*nto*|*qnx*], [PLATFORM="qnx"],
[*solaris*], [PLATFORM="solaris"], [*solaris*], [PLATFORM="solaris"],
+ [*termux*], [PLATFORM="android"] + [*android*], [PLATFORM="android"],
[PLATFORM="nix"]) [PLATFORM="nix"])
AC_ARG_WITH([libxml2], AC_ARG_WITH([libxml2],
@ -14,7 +14,7 @@ index 99c16ca..048b7d0 100644
[bsd], [RESOLV_LIBS=""], [bsd], [RESOLV_LIBS=""],
[qnx], [RESOLV_LIBS="-lsocket"], [qnx], [RESOLV_LIBS="-lsocket"],
[solaris], [RESOLV_LIBS="-lresolv -lsocket -lnsl"], [solaris], [RESOLV_LIBS="-lresolv -lsocket -lnsl"],
+ [android], [RESOLV_LIBS=""] + [android], [RESOLV_LIBS=""],
[RESOLV_LIBS="-lresolv"]) [RESOLV_LIBS="-lresolv"])
LIBS_TMP="${LIBS}" LIBS_TMP="${LIBS}"

Loading…
Cancel
Save