All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Craig <philipc@snapgear.com>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH] Only build iptables-xml when shared libraries are enabled
Date: Mon, 20 Jul 2009 14:44:45 +1000	[thread overview]
Message-ID: <4A63F63D.8000904@snapgear.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: x --]
[-- Type: text/plain, Size: 927 bytes --]

Only build iptables-xml when shared libraries are enabled

There is no static version of iptables-xml currently.
I'm building for a target that has no libdl.

Signed-off-by: Philip Craig <philipc@snapgear.com>

diff --git a/Makefile.am b/Makefile.am
index a9e3ad3..657ef41 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -81,7 +81,7 @@ ip6tables_static_SOURCES    = ${ip6tables_multi_SOURCES} xtables.c
 ip6tables_static_CFLAGS     = ${ip6tables_multi_CFLAGS} -DNO_SHARED_LIBS=1
 ip6tables_static_LDADD      = libiptc/libip6tc.la extensions/libext6.a -lm
 
-bin_PROGRAMS     = iptables-xml
+bin_PROGRAMS     =
 sbin_PROGRAMS    =
 noinst_PROGRAMS  =
 man_MANS         = iptables.8 iptables-restore.8 iptables-save.8 \
@@ -98,6 +98,7 @@ sbin_PROGRAMS += ip6tables-static
 endif
 endif
 if ENABLE_SHARED
+bin_PROGRAMS  += iptables-xml
 if ENABLE_IPV4
 sbin_PROGRAMS += iptables iptables-multi iptables-restore iptables-save
 endif

             reply	other threads:[~2009-07-20  4:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-20  4:44 Philip Craig [this message]
2009-07-20  9:06 ` [PATCH] Only build iptables-xml when shared libraries are enabled 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=4A63F63D.8000904@snapgear.com \
    --to=philipc@snapgear.com \
    --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 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.