From patchwork Sun Dec 30 23:11:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: extensions: fix linking against -lip6tc Date: Sun, 30 Dec 2012 13:11:47 -0000 From: Mike Frysinger X-Patchwork-Id: 208807 Message-Id: <1356909107-9924-1-git-send-email-vapier@gentoo.org> To: netfilter-devel@vger.kernel.org The current build forgets to specify a path to find libip6tc which means it either fails (if there is no libip6tc in the system), or links against an old version (if there is one in the system). References: https://bugs.gentoo.org/449262 Reported-by: Mike Gilbert Signed-off-by: Mike Frysinger --- extensions/GNUmakefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in index e71e3ff..a605474 100644 --- a/extensions/GNUmakefile.in +++ b/extensions/GNUmakefile.in @@ -101,7 +101,7 @@ libxt_state.so: libxt_conntrack.so ln -fs $< $@ # Need the LIBADDs in iptables/Makefile.am too for libxtables_la_LIBADD -ip6t_NETMAP_LIBADD = -lip6tc +ip6t_NETMAP_LIBADD = -L../libiptc/.libs -lip6tc xt_RATEEST_LIBADD = -lm xt_statistic_LIBADD = -lm