package/bullet: needs threads
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 20 May 2021 06:58:26 +0000 (08:58 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 20 May 2021 07:08:38 +0000 (09:08 +0200)
Build without threads fails because demo apps are not disabled since
commit 5f154799b6ed772a0c028072996e110fac131508

Fixes:
 - http://autobuild.buildroot.org/results/9db945ce0709f4116d2c1c7544322144b6e473bb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/bullet/Config.in

index 1f632b8931f448f0a1dedd86c19f96080c6940ae..0c420e82123ef16e07db1412d52fd7a20e6a3dbf 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_BULLET
        bool "bullet"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on !BR2_STATIC_LIBS # dlfcn.h
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_WCHAR
        help
          Bullet is a Collision Detection and Rigid Body Dynamics
@@ -9,6 +10,6 @@ config BR2_PACKAGE_BULLET
 
          http://bulletphysics.org
 
-comment "bullet needs a toolchain w/ C++, dynamic library, wchar"
+comment "bullet needs a toolchain w/ C++, dynamic library, threads, wchar"
        depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
-               !BR2_USE_WCHAR
+               !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR