summaryrefslogtreecommitdiffstats
path: root/package/systemd/systemd.mk
diff options
context:
space:
mode:
authorEric Le Bihan <eric.le.bihan.dev@free.fr>2014-04-14 11:25:36 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-16 19:55:23 +0200
commit596b42f7d69be49558f9c791c952c9b669f80949 (patch)
treebf99c672bcf76e39bd07c7325e28d21593be72a1 /package/systemd/systemd.mk
parent7d6e415cc91912a8314ef91abe47396ba5ad49dd (diff)
downloadbuildroot-596b42f7d69be49558f9c791c952c9b669f80949.tar.gz
buildroot-596b42f7d69be49558f9c791c952c9b669f80949.zip
systemd: add option to enable compatibility libs
Since systemd 209, some libraries have been merged into libsystemd.so: - libsystemd-daemon.so - libsystemd-id128.so - libsystemd-journal.so - libsystemd-login.so A new configuration menu entry has been added to enable the installation of compatibility pkg-config files, so that programs that depend on them can still be built. [Thomas: as suggested by Yann during the review, add an else clause with --disable-compat-libs.] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/systemd/systemd.mk')
-rw-r--r--package/systemd/systemd.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk
index ecedfced97..f7661abb8c 100644
--- a/package/systemd/systemd.mk
+++ b/package/systemd/systemd.mk
@@ -46,6 +46,12 @@ SYSTEMD_CONF_OPT += \
--disable-dbus \
--without-python
+ifeq ($(BR2_PACKAGE_SYSTEMD_COMPAT),y)
+SYSTEMD_CONF_OPT += --enable-compat-libs
+else
+SYSTEMD_CONF_OPT += --disable-compat-libs
+endif
+
ifeq ($(BR2_PACKAGE_ACL),y)
SYSTEMD_CONF_OPT += --enable-acl
SYSTEMD_DEPENDENCIES += acl
OpenPOWER on IntegriCloud