[Buildroot] [git commit] package/libsemanage: disable on musl

Peter Korsgaard peter at korsgaard.com
Wed May 25 21:32:51 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=d8e1244695ffb90b4670b800df02958e5a667777
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Suggested by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/149138
"getpwent_r() is a glibc-specific extension, so it will most likely not
 be implemented by musl."

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/libsemanage/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/libsemanage/Config.in b/package/libsemanage/Config.in
index d9a83c0..5e9ad8f 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_STATIC_LIBS
+	depends on !BR2_TOOLCHAIN_USES_MUSL # getpwent_r()
 	depends on !BR2_arc
 	help
 	  libsemanage is the policy management library. It uses
@@ -19,4 +20,5 @@ config BR2_PACKAGE_LIBSEMANAGE
 
 comment "libsemanage needs a toolchain w/ threads, dynamic library"
 	depends on !BR2_arc
+	depends on !BR2_TOOLCHAIN_USES_MUSL
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS


More information about the buildroot mailing list