diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in index 09bc078812..94cf7c68ff 100644 --- a/package/x11r7/Config.in +++ b/package/x11r7/Config.in @@ -1,6 +1,7 @@ menuconfig BR2_PACKAGE_XORG7 bool "X.org X Window System" depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS help Support for X11R7 libraries, servers, drivers, and/or applications in the target. @@ -261,5 +262,5 @@ if BR2_PACKAGE_XORG7 endmenu endif -comment "X.org needs a toolchain w/ wchar" - depends on !BR2_USE_WCHAR +comment "X.org needs a toolchain w/ wchar, threads" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/x11r7/xlib_libpthread-stubs/Config.in b/package/x11r7/xlib_libpthread-stubs/Config.in index fb53585550..6ce1b94fcd 100644 --- a/package/x11r7/xlib_libpthread-stubs/Config.in +++ b/package/x11r7/xlib_libpthread-stubs/Config.in @@ -1,7 +1,11 @@ config BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS bool "libpthread-stubs" + depends on BR2_TOOLCHAIN_HAS_THREADS help This library provides weak aliases for pthread functions not provided in libc or otherwise available by default. http://xcb.freedesktop.org/ + +comment "libpthread-stubs needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS