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