package/findutils: enable selinux support

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit 544839b318)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Adam Duskett 2021-12-09 14:21:04 -08:00 committed by Peter Korsgaard
parent 257dda3c47
commit e2ea013816

View File

@ -15,4 +15,11 @@ FINDUTILS_CONF_ENV = \
ac_cv_func_working_mktime=yes \
gl_cv_func_wcwidth_works=yes
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
FINDUTILS_DEPENDENCIES += libselinux
FINDUTILS_CONF_OPTS += --with-selinux
else
FINDUTILS_CONF_OPTS += --without-selinux
endif
$(eval $(autotools-package))