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:
parent
deb54083e2
commit
717797b885
|
@ -1,6 +1,7 @@
|
||||||
include $(top_srcdir)/Make_global.am
|
include $(top_srcdir)/Make_global.am
|
||||||
lib_LTLIBRARIES = libgtpnl.la
|
lib_LTLIBRARIES = libgtpnl.la
|
||||||
|
|
||||||
|
libgtpnl_la_LIBADD = ${LIBMNL_LIBS}
|
||||||
libgtpnl_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libgtpnl.map -version-info $(LIBVERSION)
|
libgtpnl_la_LDFLAGS = -Wl,--version-script=$(srcdir)/libgtpnl.map -version-info $(LIBVERSION)
|
||||||
libgtpnl_la_SOURCES = genl.c \
|
libgtpnl_la_SOURCES = genl.c \
|
||||||
gtp-genl.c \
|
gtp-genl.c \
|
||||||
|
|
Loading…
Reference in New Issue