summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libselinux/Config.in5
-rw-r--r--package/libsemanage/Config.in5
2 files changed, 6 insertions, 4 deletions
diff --git a/package/libselinux/Config.in b/package/libselinux/Config.in
index c8a23b3e2c..e4d1309daa 100644
--- a/package/libselinux/Config.in
+++ b/package/libselinux/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_LIBSELINUX
select BR2_PACKAGE_PCRE
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_LARGEFILE
+ depends on !BR2_STATIC_LIBS
help
libselinux is the runtime SELinux library that provides
interfaces (e.g. library functions for the SELinux kernel
@@ -15,5 +16,5 @@ config BR2_PACKAGE_LIBSELINUX
http://selinuxproject.org/page/Main_Page
-comment "libselinux needs a toolchain w/ largefile, threads"
- depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
+comment "libselinux needs a toolchain w/ largefile, threads, dynamic library"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE || BR2_STATIC_LIBS
diff --git a/package/libsemanage/Config.in b/package/libsemanage/Config.in
index 3f4bfb70a2..bef5c78305 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
OpenPOWER on IntegriCloud