[Buildroot] [git commit] package/systemd: add optional iptables dependency
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon Feb 4 10:25:26 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=9fe205c59be863fa8a4a1609ae9099423a908adb
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/systemd/systemd.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 15db1969e5..f9df66b039 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -64,6 +64,13 @@ else
SYSTEMD_CONF_OPTS += -Delfutils=false
endif
+ifeq ($(BR2_PACKAGE_IPTABLES),y)
+SYSTEMD_DEPENDENCIES += iptables
+SYSTEMD_CONF_OPTS += -Dlibiptc=true
+else
+SYSTEMD_CONF_OPTS += -Dlibiptc=false
+endif
+
# Both options can't be selected at the same time so prefer libidn2
ifeq ($(BR2_PACKAGE_LIBIDN2),y)
SYSTEMD_DEPENDENCIES += libidn2
More information about the buildroot
mailing list