package/bullet: needs dynamic library
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 6 May 2021 20:50:48 +0000 (22:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 10 May 2021 07:12:56 +0000 (09:12 +0200)
Build without dlfcn.h fails because bullet3 is not disabled since
commit 5f154799b6ed772a0c028072996e110fac131508

Fixes:
 - http://autobuild.buildroot.org/results/ab2efdd1eac64474adf00d8e60b42110c6e89143

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/bullet/Config.in

index fc285ab33a41cc69538f5ed2df90b6facb07fd00..5d8a57aa4781874b28e000950663081780cc21b8 100644 (file)
@@ -1,11 +1,12 @@
 config BR2_PACKAGE_BULLET
        bool "bullet"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on !BR2_STATIC_LIBS # dlfcn.h
        help
          Bullet is a Collision Detection and Rigid Body Dynamics
          Library.
 
          http://bulletphysics.org
 
-comment "bullet needs a toolchain w/ C++"
-       depends on !BR2_INSTALL_LIBSTDCPP
+comment "bullet needs a toolchain w/ C++, dynamic library"
+       depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS