package/findutils: enable selinux support

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Adam Duskett 2021-12-09 14:21:04 -08:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent ffa6d7800d
commit 544839b318

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))