package/systemd: Add optional libxkbcommon support
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Fri, 1 Jul 2016 21:51:27 +0000 (23:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 Jul 2016 11:07:04 +0000 (13:07 +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 c79b64c7176c4d5e70af364643643f1a4d515121..3baa6e731a7966de02f5bb93fd5f24bb50a0d291 100644 (file)
@@ -87,6 +87,13 @@ else
 SYSTEMD_CONF_OPTS += --disable-seccomp
 endif
 
+ifeq ($(BR2_PACKAGE_LIBXKBCOMMON),y)
+SYSTEMD_CONF_OPTS += --enable-xkbcommon
+SYSTEMD_DEPENDENCIES += libxkbcommon
+else
+SYSTEMD_CONF_OPTS += --disable-xkbcommon
+endif
+
 ifeq ($(BR2_PACKAGE_SYSTEMD_KDBUS),y)
 SYSTEMD_CONF_OPTS += --enable-kdbus
 else