package/libsemanage: disable on musl
authorBernd Kuhls <bernd.kuhls@t-online.de>
Tue, 24 May 2016 20:03:34 +0000 (22:03 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 25 May 2016 21:32:51 +0000 (23:32 +0200)
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@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libsemanage/Config.in

index d9a83c0cf5bc283fca664a39c44df93c6d20835a..5e9ad8fee557bad324318dc847c4b541edca6f67 100644 (file)
@@ -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