libzdb: remove -lnsl flag for mysql
authorGergely Kiss <mail.gery@gmail.com>
Sat, 30 Apr 2016 19:38:39 +0000 (21:38 +0200)
committerEtienne CHAMPETIER <champetier.etienne@gmail.com>
Wed, 24 Aug 2016 20:35:33 +0000 (20:35 +0000)
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
libs/libzdb/patches/010-cross-compile-fixes.patch

index 8f7274becad9c36d2cac7b6552632912f5bd67e9..e765da80ec60d06bb49455e6f50c030af8e5a4f7 100644 (file)
@@ -40,7 +40,7 @@ diff -rupN libzdb-3.1.orig/configure.ac libzdb-3.1/configure.ac
 -                DBCPPFLAGS="$DBCPPFLAGS `$MYSQLCONFIG --include`"
 -                DBLDFLAGS="$DBLDFLAGS `$MYSQLCONFIG --libs`"
 +                DBCPPFLAGS="$DBCPPFLAGS -I$STAGING_DIR/usr/include/mysql"
-+                DBLDFLAGS="$DBLDFLAGS -L$STAGING_DIR/usr/lib/mysql -L$STAGING_DIR/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm"
++                DBLDFLAGS="$DBLDFLAGS -L$STAGING_DIR/usr/lib/mysql -L$STAGING_DIR/usr/lib -lmysqlclient -lz -lcrypt -lm"
                  AC_DEFINE([HAVE_LIBMYSQLCLIENT], 1, [Define to 1 to enable mysql])
          else
                  CPPFLAGS=$svd_CPPFLAGS