[Buildroot] [PATCH 1/1] package/systemd: add optional iptables dependency
Yann E. MORIN
yann.morin.1998 at free.fr
Mon Feb 4 10:07:50 UTC 2019
Fabrice, All,
On 2019-02-03 19:04 +0100, Fabrice Fontaine spake thusly:
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Regards,
Yann E. MORIN.
> ---
> 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
> --
> 2.14.1
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list