Explorar o código

package/findutils: enable selinux support

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Adam Duskett %!s(int64=3) %!d(string=hai) anos
pai
achega
544839b318
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      package/findutils/findutils.mk

+ 7 - 0
package/findutils/findutils.mk

@@ -15,4 +15,11 @@ FINDUTILS_CONF_ENV = \
 	ac_cv_func_working_mktime=yes \
 	ac_cv_func_working_mktime=yes \
 	gl_cv_func_wcwidth_works=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))
 $(eval $(autotools-package))