@@ -1,6 +1,7 @@
config BR2_PACKAGE_PKG_CONFIG
bool "pkg-config"
depends on BR2_USE_WCHAR # glib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_DEPRECATED
select BR2_PACKAGE_LIBGLIB2
help
@@ -11,5 +12,5 @@ config BR2_PACKAGE_PKG_CONFIG
http://www.freedesktop.org/software/pkgconfig/
-comment "pkg-config requires a toolchain with WCHAR support"
- depends on BR2_DEPRECATED && !BR2_USE_WCHAR
+comment "pkg-config requires a toolchain with WCHAR and threading support"
+ depends on BR2_DEPRECATED && (!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> --- package/pkg-config/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)