xref: /OK3568_Linux_fs/buildroot/package/libselinux/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LIBSELINUX
2	bool "libselinux"
3	depends on BR2_TOOLCHAIN_HAS_THREADS
4	depends on !BR2_STATIC_LIBS
5	select BR2_PACKAGE_LIBSEPOL
6	select BR2_PACKAGE_PCRE
7	select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
8	help
9	  libselinux is the runtime SELinux library that provides
10	  interfaces (e.g. library functions for the SELinux kernel
11	  APIs like getcon(), other support functions like
12	  getseuserbyname()) to SELinux-aware applications. libselinux
13	  may use the shared libsepol to manipulate the binary policy
14	  if necessary (e.g. to downgrade the policy format to an
15	  older version supported by the kernel) when loading policy.
16
17	  http://selinuxproject.org/page/Main_Page
18
19comment "libselinux needs a toolchain w/ threads, dynamic library"
20	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
21