netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Olivier Blin <dev@blino.org>
To: netfilter-devel@vger.kernel.org
Cc: kadlec@sunserv.kfki.hu, Olivier Blin <dev@blino.org>
Subject: [PATCH] Fix link with libtool >= 2.4.4
Date: Thu,  7 Jan 2016 00:21:09 +0100	[thread overview]
Message-ID: <1452122469-22209-2-git-send-email-dev@blino.org> (raw)
In-Reply-To: <1452122469-22209-1-git-send-email-dev@blino.org>

As of libtool-2.4.4, -ldl is no longer prepended to LIBS.
Since types.c needs dlopen() and dlerror(), use LIBADD_DLOPEN, as
suggested in libtool-2.4.4 release notes.
---
 lib/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index 36f60b0..4a376ca 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -24,7 +24,7 @@ lib_LTLIBRARIES = libipset.la
 include $(top_srcdir)/lib/Make_extra.am
 
 libipset_la_LDFLAGS = -Wl,--version-script=$(top_srcdir)/lib/libipset.map -version-info $(LIBVERSION)
-libipset_la_LIBADD  = ${libmnl_LIBS} $(IPSET_SETTYPE_STATIC_OBJECTS)
+libipset_la_LIBADD  = ${libmnl_LIBS} $(IPSET_SETTYPE_STATIC_OBJECTS) $(LIBADD_DLOPEN)
 libipset_la_SOURCES = \
 	data.c \
 	errcode.c \
-- 
2.6.4


  reply	other threads:[~2016-01-06 23:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-06 23:21 [PATCH] ipset tool: Fix link with libtool >= 2.4.4 Olivier Blin
2016-01-06 23:21 ` Olivier Blin [this message]
2016-01-07  7:48 ` Jozsef Kadlecsik
2016-01-07 12:36   ` Olivier Blin
2016-01-09 20:13     ` Kadlecsik József

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=1452122469-22209-2-git-send-email-dev@blino.org \
    --to=dev@blino.org \
    --cc=kadlec@sunserv.kfki.hu \
    --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).