From: Gergely Kiss Date: Sat, 30 Apr 2016 19:38:39 +0000 (+0200) Subject: libzdb: remove -lnsl flag for mysql X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ebd5c7f93ab26220917b6950c9341717cf4c0b67;p=feed%2Fpackages.git libzdb: remove -lnsl flag for mysql Signed-off-by: Gergely Kiss --- diff --git a/libs/libzdb/patches/010-cross-compile-fixes.patch b/libs/libzdb/patches/010-cross-compile-fixes.patch index 8f7274beca..e765da80ec 100644 --- a/libs/libzdb/patches/010-cross-compile-fixes.patch +++ b/libs/libzdb/patches/010-cross-compile-fixes.patch @@ -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