a2dc5e21cf
Even though technically libselinux could make its <dlfcn.h> include optional, the build system isn't really suited to build and install only the static variant of libselinux, so let's make libselinux and its reverse dependency not available in pure-static environments. Fixes: http://autobuild.buildroot.org/results/90d/90dc73980a45b9b0441be3d493b22e3afea3cd6e/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
config BR2_PACKAGE_LIBSEMANAGE
|
|
bool "libsemanage"
|
|
select BR2_PACKAGE_LIBSELINUX
|
|
select BR2_PACKAGE_USTR
|
|
select BR2_PACKAGE_BZIP2
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_LARGEFILE
|
|
depends on !BR2_STATIC_LIBS
|
|
help
|
|
libsemanage is the policy management library. It uses
|
|
libsepol for binary policy manipulation and libselinux for
|
|
interacting with the SELinux system. It also exec's helper
|
|
programs for loading policy and for checking whether the
|
|
file_contexts configuration is valid (load_policy and
|
|
setfiles from policycoreutils) presently, although this may
|
|
change at least for the bootstrapping case (for rpm).
|
|
|
|
http://selinuxproject.org/page/Main_Page
|
|
|
|
if BR2_PACKAGE_LIBSEMANAGE
|
|
|
|
config BR2_PACKAGE_LIBSEMANAGE_PYTHON_BINDINGS
|
|
depends on BR2_PACKAGE_PYTHON
|
|
bool "python bindings"
|
|
help
|
|
Enable building python bindings
|
|
|
|
endif
|
|
|
|
comment "libsemanage needs a toolchain w/ largefile, threads, dynamic library"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || BR2_STATIC_LIBS
|