diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2014-10-21 13:58:14 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-22 21:37:53 +0200 |
commit | 9f13ddf3bab51ae762b82ce9f767ac1abcdb7b2e (patch) | |
tree | 0489129b871a21d3a32c059db047be93dce5d90b /package/iptables | |
parent | b1c0d8142a99d0c72116f0894d1f3e65e4210d3f (diff) |
iptables: disable static for dynamic builds
It leads to ugly runtime warnings, see:
http://patchwork.ozlabs.org/patch/386215/
It's also required for xtables-addons.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/iptables')
-rw-r--r-- | package/iptables/iptables.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk index f059807b6..2ef879d85 100644 --- a/package/iptables/iptables.mk +++ b/package/iptables/iptables.mk @@ -12,7 +12,9 @@ IPTABLES_DEPENDENCIES = host-pkgconf \ $(if $(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),libnetfilter_conntrack) IPTABLES_LICENSE = GPLv2 IPTABLES_LICENSE_FILES = COPYING -IPTABLES_CONF_OPTS = --libexecdir=/usr/lib --with-kernel=$(STAGING_DIR)/usr +# Building static causes ugly warnings on some plugins +IPTABLES_CONF_OPTS = --libexecdir=/usr/lib --with-kernel=$(STAGING_DIR)/usr \ + $(if $(BR2_PREFER_STATIC_LIB),,--disable-static) # Because of iptables-01-fix-static-link.patch IPTABLES_AUTORECONF = YES |