From: Romain Naour Date: Thu, 30 Jul 2015 16:01:37 +0000 (+0200) Subject: package/eudev: add libselinux dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4feec7405f2284e1bb468751e663574c28db4d1d;p=buildroot.git package/eudev: add libselinux dependency Signed-off-by: Romain Naour Cc: Clayton Shotwell Signed-off-by: Thomas Petazzoni --- diff --git a/package/eudev/eudev.mk b/package/eudev/eudev.mk index 87bce3e511..f587acd759 100644 --- a/package/eudev/eudev.mk +++ b/package/eudev/eudev.mk @@ -44,6 +44,13 @@ else EUDEV_CONF_OPTS += --disable-gudev endif +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +EUDEV_CONF_OPTS += --enable-selinux +EUDEV_DEPENDENCIES += libselinux +else +EUDEV_CONF_OPTS += --disable-selinux +endif + define EUDEV_INSTALL_INIT_SYSV $(INSTALL) -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev endef