[Buildroot] [PATCH 2/2] package/ustr: disable on musl

Bernd Kuhls bernd.kuhls at t-online.de
Tue May 24 20:03:35 UTC 2016


libsemanage is the only package depending on ustr, both packages do not
build using a musl-based toolchain, suggested by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/149138

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

diff --git a/package/ustr/Config.in b/package/ustr/Config.in
index 0d9c272..9d6561c 100644
--- a/package/ustr/Config.in
+++ b/package/ustr/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_USTR
 	bool "ustr"
 	# unconditionally builds a shared library
 	depends on !BR2_STATIC_LIBS
+	depends on !BR2_TOOLCHAIN_USES_MUSL # broken vsnprintf detection
 	help
 	  A small, safe string library.
 
@@ -9,3 +10,4 @@ config BR2_PACKAGE_USTR
 
 comment "ustr needs a toolchain w/ dynamic library"
 	depends on BR2_STATIC_LIBS
+	depends on !BR2_TOOLCHAIN_USES_MUSL
-- 
2.8.1



More information about the buildroot mailing list