diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2014-03-21 13:54:53 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2014-03-21 13:54:53 +0100 |
commit | 717797b885fee73d29c843cc9a43a6a4942695fd (patch) | |
tree | a1295619f3fc860b08d67c6afb321203363ef4fb | |
parent | deb54083e225ec2ca018e4f01ae9b3414037c4b1 (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.am | 1 |
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 \ |