* [Buildroot] [PATCH 1/1] package/bullet: extras needs dlfcn.h and threads
@ 2019-04-25 20:49 Fabrice Fontaine
2019-04-26 7:13 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2019-04-25 20:49 UTC (permalink / raw)
To: buildroot
extras needs dynamic library (dlfcn.h) and threads
Fixes:
- http://autobuild.buildroot.org/results/a2609de74c08d9287beb839b93794161a7868e30
- http://autobuild.buildroot.org/results/3e961d40f3d7003061eee0f7dc476d26c444bd7b
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/bullet/bullet.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/bullet/bullet.mk b/package/bullet/bullet.mk
index 1345f3747e..7ff8195c85 100644
--- a/package/bullet/bullet.mk
+++ b/package/bullet/bullet.mk
@@ -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))
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-26 7:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-25 20:49 [Buildroot] [PATCH 1/1] package/bullet: extras needs dlfcn.h and threads Fabrice Fontaine
2019-04-26 7:13 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.