Fix configure.ac patch to be more general
authorFredrik Fornwall <fredrik@fornwall.net>
Mon, 5 Sep 2016 23:22:26 +0000 (19:22 -0400)
committerFredrik Fornwall <fredrik@fornwall.net>
Mon, 5 Sep 2016 23:22:26 +0000 (19:22 -0400)
packages/libstrophe/configure.ac.patch

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