summaryrefslogtreecommitdiffstats
path: root/package/libsemanage
diff options
context:
space:
mode:
Diffstat (limited to 'package/libsemanage')
-rw-r--r--package/libsemanage/Config.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/libsemanage/Config.in b/package/libsemanage/Config.in
index 5e9ad8fee5..4465ef46d8 100644
--- a/package/libsemanage/Config.in
+++ b/package/libsemanage/Config.in
@@ -5,7 +5,9 @@ config BR2_PACKAGE_LIBSEMANAGE
select BR2_PACKAGE_BZIP2
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on !BR2_STATIC_LIBS
- depends on !BR2_TOOLCHAIN_USES_MUSL # getpwent_r()
+ # libselinux needs fts.h (not available in uClibc/musl) and
+ # libsemanage itself needs getpwent_r() not available in musl
+ depends on BR2_TOOLCHAIN_USES_GLIBC
depends on !BR2_arc
help
libsemanage is the policy management library. It uses
@@ -18,7 +20,7 @@ config BR2_PACKAGE_LIBSEMANAGE
http://selinuxproject.org/page/Main_Page
-comment "libsemanage needs a toolchain w/ threads, dynamic library"
+comment "libsemanage needs a glibc toolchain w/ threads, dynamic library"
depends on !BR2_arc
- depends on !BR2_TOOLCHAIN_USES_MUSL
- depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
+ !BR2_TOOLCHAIN_USES_GLIBC
OpenPOWER on IntegriCloud