aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2014-03-21 13:54:53 +0100
committerPablo Neira Ayuso <pablo@gnumonks.org>2014-03-21 13:54:53 +0100
commit717797b885fee73d29c843cc9a43a6a4942695fd (patch)
treea1295619f3fc860b08d67c6afb321203363ef4fb
parentdeb54083e225ec2ca018e4f01ae9b3414037c4b1 (diff)
build: link this library to libmnl
With this change, application don't need to pass to the linker -lmnl which is the right way to make it since they don't directly refer to mnl_* functions.
-rw-r--r--src/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index f4d8d6c..9ae07d3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,7 @@
include $(top_srcdir)/Make_global.am
lib_LTLIBRARIES = libgtpnl.la
+libgtpnl_la_LIBADD = ${LIBMNL_LIBS}
libgtpnl_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libgtpnl.map -version-info $(LIBVERSION)
libgtpnl_la_SOURCES = genl.c \
gtp-genl.c \