diff mbox series

[1/1] package/bullet: needs dynamic library

Message ID 20210506205048.2081535-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/bullet: needs dynamic library | expand

Commit Message

Fabrice Fontaine May 6, 2021, 8:50 p.m. UTC
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>
---
 package/bullet/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Peter Korsgaard May 10, 2021, 7:13 a.m. UTC | #1
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > 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>

Committed, thanks.
diff mbox series

Patch

diff --git a/package/bullet/Config.in b/package/bullet/Config.in
index fc285ab33a..5d8a57aa47 100644
--- a/package/bullet/Config.in
+++ b/package/bullet/Config.in
@@ -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