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.
This commit is contained in:
Pablo Neira Ayuso 2014-03-21 13:54:53 +01:00
parent deb54083e2
commit 717797b885
1 changed files with 1 additions and 0 deletions

View File

@ -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 \