package/shadow: fix libsemanage dependency

Fix the following build failure raised since the addition of the package
in commit f78c5cb5ca:

Makefile:576: *** libsemanage is in the dependency chain of shadow that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in.  Stop.

Fixes:
 - http://autobuild.buildroot.org/results/e528e07874815d7f1cb951084ec985d76fe22d2e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2023-03-18 13:30:10 +01:00 committed by Thomas Petazzoni
parent d3051892eb
commit 4a0301c1b9

View File

@ -87,7 +87,7 @@ else
SHADOW_CONF_OPTS += --without-libcrack
endif
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
ifeq ($(BR2_PACKAGE_LIBSELINUX)$(BR2_PACKAGE_LIBSEMANAGE),yy)
SHADOW_CONF_OPTS += --with-selinux
SHADOW_DEPENDENCIES += libselinux libsemanage
else