commit | ef333f99a25d328a9d21d3ea26f163b1a79bfdef | [log] [tgz] |
---|---|---|
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | Thu Apr 25 22:49:22 2019 +0200 |
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | Fri Apr 26 09:06:42 2019 +0200 |
tree | 00fa8a926490d899f3eec45a703b5fb46babc8a0 | |
parent | e6118131451ad2069172705021db8ea60eb46f9c [diff] [blame] |
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 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
diff --git a/package/bullet/bullet.mk b/package/bullet/bullet.mk index 1345f37..7ff8195 100644 --- a/package/bullet/bullet.mk +++ b/package/bullet/bullet.mk
@@ -16,4 +16,11 @@ -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))