libnfnetlink dependency elimination
cover libnfnetlink dependency elimination
Hi Pablo,
Maybe park this one until mnl cut-over is complete(?)
Cheers ... Duncan.
Duncan Roe (1):
Remove libnfnetlink from the build
Make_global.am | 2 +- configure.ac | 1 - libnetfilter_queue.pc.in | 1 - src/Makefile.am | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-)
Signature · 1 line
2.35.8
PATCH 1/1 Remove libnfnetlink from the build
Programs using old-interface functions must build with -lnfnetlink. Programs using libmnl-based functions no longer show libnfnetlink in ldd.
Signed-off-by Duncan Roe <[email protected]>
--- Make_global.am | 2 +- configure.ac | 1 - libnetfilter_queue.pc.in | 1 - src/Makefile.am | 2 +- 4 files changed, 2 insertions(+), 4 deletions(-)
Make_global.am +1 -1
@@ -1,2 +1,2 @@ -AM_CPPFLAGS = -I${top_srcdir}/include ${LIBNFNETLINK_CFLAGS} ${LIBMNL_CFLAGS} +AM_CPPFLAGS = -I${top_srcdir}/include ${LIBMNL_CFLAGS} AM_CFLAGS = -Wall ${GCC_FVISIBILITY_HIDDEN}
configure.ac +0 -1
@@ -42,7 +42,6 @@ case "$host" in esac dnl Dependencies -PKG_CHECK_MODULES([LIBNFNETLINK], [libnfnetlink >= 0.0.41]) PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.3]) AS_IF([test "$enable_man_pages" = no -a "$enable_html_doc" = no],
libnetfilter_queue.pc.in +0 -1
@@ -12,5 +12,4 @@ Version: @VERSION@ Requires: libnfnetlink Conflicts: Libs: -L${libdir} -lnetfilter_queue -Libs.private: @LIBNFNETLINK_LIBS@ Cflags: -I${includedir}
src/Makefile.am +1 -1
@@ -38,4 +38,4 @@ libnetfilter_queue_la_SOURCES = libnetfilter_queue.c \ extra/pktbuff.c \ extra/udp.c -libnetfilter_queue_la_LIBADD = ${LIBNFNETLINK_LIBS} ${LIBMNL_LIBS} +libnetfilter_queue_la_LIBADD = ${LIBMNL_LIBS}
Signature · 1 line
2.35.8