package/systemd: add optional iptables dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
bf48bf8629
commit
9fe205c59b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user