1 config BR2_PACKAGE_LIBSELINUX
3 select BR2_PACKAGE_LIBSEPOL
4 select BR2_PACKAGE_PCRE
5 depends on BR2_TOOLCHAIN_HAS_THREADS
6 depends on !BR2_STATIC_LIBS
7 # Uses <fts.h>, not available in musl or uClibc
8 depends on BR2_TOOLCHAIN_USES_GLIBC
9 # Toolchain issue: "fixup not contained within frag"
12 libselinux is the runtime SELinux library that provides
13 interfaces (e.g. library functions for the SELinux kernel
14 APIs like getcon(), other support functions like
15 getseuserbyname()) to SELinux-aware applications. libselinux
16 may use the shared libsepol to manipulate the binary policy
17 if necessary (e.g. to downgrade the policy format to an
18 older version supported by the kernel) when loading policy.
20 http://selinuxproject.org/page/Main_Page
22 comment "libselinux needs a glibc toolchain w/ threads, dynamic library"
24 depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
25 !BR2_TOOLCHAIN_USES_GLIBC