netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] extensions: fix linking against -lip6tc
@ 2012-12-30 23:11 Mike Frysinger
  2012-12-30 23:38 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 12+ messages in thread
From: Mike Frysinger @ 2012-12-30 23:11 UTC (permalink / raw)
  To: netfilter-devel

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 <floppym@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 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
 
-- 
1.8.0


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-01-12  1:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-30 23:11 [PATCH] extensions: fix linking against -lip6tc Mike Frysinger
2012-12-30 23:38 ` Pablo Neira Ayuso
2012-12-31  0:51   ` Mike Frysinger
2012-12-31  5:54     ` [PATCH] build: resolve link failure for ip6t_NETMAP Jan Engelhardt
2013-01-02  4:03       ` Mike Frysinger
2013-01-02  8:42         ` Jan Engelhardt
2013-01-02  8:47           ` Jan Engelhardt
2013-01-02 17:23             ` Mike Frysinger
2013-01-02 23:50               ` Pablo Neira Ayuso
2013-01-11 23:34             ` Dmitry V. Levin
2013-01-12  0:00               ` Dmitry V. Levin
2013-01-12  1:37               ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).