package/systemd: add optional support for libidn
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Fri, 1 Jul 2016 21:51:23 +0000 (23:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 Jul 2016 11:05:52 +0000 (13:05 +0200)
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/systemd.mk

index 313e7819952e774170879504055a2d44a9a23096..e57b595f6f907f9ee7a6d4a9aafe6605574c0e38 100644 (file)
@@ -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