Browse Source

disable libnsl linking

Waldemar Brodkorb 13 years ago
parent
commit
45cb1ca7bd
1 changed files with 20 additions and 0 deletions
  1. 20 0
      package/libevent/patches/patch-configure

+ 20 - 0
package/libevent/patches/patch-configure

@@ -0,0 +1,20 @@
+--- libevent-1.4.14b-stable.orig/configure	2010-06-20 15:06:18.000000000 +0200
++++ libevent-1.4.14b-stable/configure	2011-05-11 13:12:43.000000000 +0200
+@@ -10847,7 +10847,7 @@ if test "${ac_cv_lib_nsl_inet_ntoa+set}"
+   $as_echo_n "(cached) " >&6
+ else
+   ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lnsl  $LIBS"
++LIBS="$LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
+@@ -10882,7 +10882,7 @@ if test "x$ac_cv_lib_nsl_inet_ntoa" = x"
+ #define HAVE_LIBNSL 1
+ _ACEOF
+ 
+-  LIBS="-lnsl $LIBS"
++  LIBS="$LIBS"
+ 
+ fi
+