summaryrefslogtreecommitdiffstats
path: root/package/systemd
diff options
context:
space:
mode:
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>2016-07-01 23:51:23 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-02 13:05:52 +0200
commit62db4520cf5e3a2190f6291f929a31ca1d522b50 (patch)
treedb97b49d2ea8750aac616af04496edd8ad386301 /package/systemd
parent45adcb932630cbc1fdc3c3a182f1500073e6ab5f (diff)
downloadbuildroot-62db4520cf5e3a2190f6291f929a31ca1d522b50.tar.gz
buildroot-62db4520cf5e3a2190f6291f929a31ca1d522b50.zip
package/systemd: add optional support for libidn
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/systemd')
-rw-r--r--package/systemd/systemd.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index 313e781995..e57b595f6f 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -73,6 +73,13 @@ else
SYSTEMD_CONF_OPTS += --disable-audit
endif
+ifeq ($(BR2_PACKAGE_LIBIDN),y)
+SYSTEMD_CONF_OPTS += --enable-libidn
+SYSTEMD_DEPENDENCIES += libidn
+else
+SYSTEMD_CONF_OPTS += --disable-libidn
+endif
+
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
SYSTEMD_CONF_OPTS += --enable-seccomp
SYSTEMD_DEPENDENCIES += libseccomp
OpenPOWER on IntegriCloud