netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH] extensions: fix linking against -lip6tc
Date: Sun, 30 Dec 2012 18:11:47 -0500	[thread overview]
Message-ID: <1356909107-9924-1-git-send-email-vapier@gentoo.org> (raw)

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


             reply	other threads:[~2012-12-30 23:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-30 23:11 Mike Frysinger [this message]
2012-12-30 23:38 ` [PATCH] extensions: fix linking against -lip6tc 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1356909107-9924-1-git-send-email-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).