summaryrefslogtreecommitdiff
path: root/package/libsemanage
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-02 21:08:41 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-02 21:09:40 +0100
commita2dc5e21cfe1fecfe766b67df4f5a1450c053f41 (patch)
tree1a8242fc13251f78217aca307b52853ea7555bfd /package/libsemanage
parent2b937ae4a07fe19f690de1c07851da9cdb0294bf (diff)
libselinux: needs shared library support
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>
Diffstat (limited to 'package/libsemanage')
-rw-r--r--package/libsemanage/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libsemanage/Config.in b/package/libsemanage/Config.in
index 3f4bfb70a..bef5c7830 100644
--- a/package/libsemanage/Config.in
+++ b/package/libsemanage/Config.in
@@ -5,6 +5,7 @@ config BR2_PACKAGE_LIBSEMANAGE
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
@@ -26,5 +27,5 @@ config BR2_PACKAGE_LIBSEMANAGE_PYTHON_BINDINGS
endif
-comment "libsemanage needs a toolchain w/ largefile, threads"
- depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
+comment "libsemanage needs a toolchain w/ largefile, threads, dynamic library"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || BR2_STATIC_LIBS