2014-12-16 04:53:53 +01:00
|
|
|
config BR2_PACKAGE_LIBSELINUX
|
|
|
|
bool "libselinux"
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2015-01-02 21:08:41 +01:00
|
|
|
depends on !BR2_STATIC_LIBS
|
2016-06-27 00:39:11 +02:00
|
|
|
# Uses <fts.h>, not available in musl or uClibc
|
|
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
2015-08-19 20:33:34 +02:00
|
|
|
# Toolchain issue: "fixup not contained within frag"
|
|
|
|
depends on !BR2_arc
|
2017-04-22 19:17:58 +02:00
|
|
|
select BR2_PACKAGE_LIBSEPOL
|
|
|
|
select BR2_PACKAGE_PCRE
|
2014-12-16 04:53:53 +01:00
|
|
|
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
|
|
|
|
|
2016-06-27 00:39:11 +02:00
|
|
|
comment "libselinux needs a glibc toolchain w/ threads, dynamic library"
|
2015-08-19 20:33:34 +02:00
|
|
|
depends on !BR2_arc
|
2016-06-27 00:39:11 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
|
|
|
|
!BR2_TOOLCHAIN_USES_GLIBC
|