Skip to contentSkip to conversation

package/bullet: extras needs dlfcn.h and threads

PATCH New Fabrice Fontaine 2 participants 2 messages Apr 25, 2019 – Apr 26, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/bullet: extras needs dlfcn.h and threads

extras needs dynamic library (dlfcn.h) and threads

Fixes:
- http://autobuild.buildroot.org/results/a2609de74c08d9287beb839b93794161a7868e30
- http://autobuild.buildroot.org/results/3e961d40f3d7003061eee0f7dc476d26c444bd7b

---
 package/bullet/bullet.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/bullet/bullet.mk +7 -0
index 1345f3747e..7ff8195c85 100644
@@ -16,4 +16,11 @@ BULLET_CONF_OPTS = -DBUILD_UNIT_TESTS=OFF \
 	-DBUILD_BULLET2_DEMOS=OFF \
 	-DBUILD_BULLET3=OFF
 
+# extras needs dlfcn.h and threads
+ifeq ($(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_HAS_THREADS),:y)
+BULLET_CONF_OPTS += -DBUILD_EXTRAS=ON
+else
+BULLET_CONF_OPTS += -DBUILD_EXTRAS=OFF
+endif
+
 $(eval $(cmake-package))
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/bullet: extras needs dlfcn.h and threads

Quoted 10 lines · On Thu, 25 Apr 2019 22:49:22 +0200 Fabrice Fontaine…

extras needs dynamic library (dlfcn.h) and threads

Fixes:
- http://autobuild.buildroot.org/results/a2609de74c08d9287beb839b93794161a7868e30
- http://autobuild.buildroot.org/results/3e961d40f3d7003061eee0f7dc476d26c444bd7b

---
 package/bullet/bullet.mk | 7 +++++++
 1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com