From 544839b318d08b7c331cc91b5f66b776d5a87736 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Thu, 9 Dec 2021 14:21:04 -0800 Subject: [PATCH] package/findutils: enable selinux support Signed-off-by: Adam Duskett Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/findutils/findutils.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/findutils/findutils.mk b/package/findutils/findutils.mk index 918591c53f..3237e5502a 100644 --- a/package/findutils/findutils.mk +++ b/package/findutils/findutils.mk @@ -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))