All of lore.kernel.org
 help / color / mirror / Atom feed
* Only use libdl when shared builds are enabled (was: Only build iptables-xml)
@ 2009-07-20  9:10 Jan Engelhardt
  2009-07-21  0:22 ` Philip Craig
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Engelhardt @ 2009-07-20  9:10 UTC (permalink / raw)
  To: Philip Craig; +Cc: Netfilter Developer Mailing List

Hi Philip,


try this one instead.


parent efebafa0021f36f4547b7fcc47620274f333e001 (v1.4.4-2-gefebafa)
commit 906025e7be97f760cd11cc0f93f769f827bf6f70
Author: Jan Engelhardt <jengelh@medozas.de>
Date:   Mon Jul 20 11:08:14 2009 +0200

build: only use libdl when shared builds are enabled

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
 Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index fd99098..5608bde 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,10 @@ libiptc_libiptc_la_LDFLAGS = -version-info 0:0:0
 lib_LTLIBRARIES      += libxtables.la
 libxtables_la_SOURCES = xtables.c
 libxtables_la_LDFLAGS = -version-info ${libxtables_vcurrent}:0:${libxtables_vage}
-libxtables_la_LIBADD  = -ldl
+libxtables_la_LIBADD  =
+if ENABLE_SHARED
+libxtables_la_LIBADD += -ldl
+endif
 
 # iptables, dynamic
 iptables_SOURCES          = iptables-standalone.c iptables.c
-- 
# Created with git-export-patch


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

end of thread, other threads:[~2009-07-24  9:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-20  9:10 Only use libdl when shared builds are enabled (was: Only build iptables-xml) Jan Engelhardt
2009-07-21  0:22 ` Philip Craig
2009-07-22 11:54   ` Henrik Nordstrom
2009-07-22 12:50     ` Jan Engelhardt
2009-07-23  0:07       ` Only use libdl when shared builds are enabled Philip Craig
2009-07-23  1:06         ` Jan Engelhardt
2009-07-23 15:50         ` Jan Engelhardt
2009-07-24  9:02           ` Philip Craig
2009-07-24  9:26             ` Jan Engelhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.