From 3d046b8b6e2bfd8e2d2cd52331eba2ff9b718861 Mon Sep 17 00:00:00 2001 From: Andreas Henriksson Date: Mon, 10 Jun 2013 22:42:43 +0200 Subject: [PATCH] Update configure script to link with -lmnl --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 27c6cd31..75ee2ea4 100644 --- a/configure.in +++ b/configure.in @@ -2503,8 +2503,8 @@ AM_CONDITIONAL(BUILD_WITH_LIBMYSQL, test "x$with_libmysql" = "xyes") # --with-libnetlink {{{ with_libnetlink_cflags="" -with_libnetlink_libs="-lnetlink" -AC_ARG_WITH(libnetlink, [AS_HELP_STRING([--with-libnetlink@<:@=PREFIX@:>@], [Path to libnetlink.])], +with_libnetlink_libs="-lmnl" +AC_ARG_WITH(libnetlink, [AS_HELP_STRING([--with-libnetlink@<:@=PREFIX@:>@], [Path to libmnl.])], [ echo "libnetlink: withval = $withval" if test "x$withval" = "xyes" @@ -2517,7 +2517,7 @@ AC_ARG_WITH(libnetlink, [AS_HELP_STRING([--with-libnetlink@<:@=PREFIX@:>@], [Pat if test -d "$withval/include" then with_libnetlink_cflags="-I$withval/include" - with_libnetlink_libs="-L$withval/lib -lnetlink" + with_libnetlink_libs="-L$withval/lib -lmnl" with_libnetlink="yes" else AC_MSG_ERROR("no such directory: $withval/include") -- 2.11.0