package/bullet: extras needs NPTL
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 29 Apr 2019 16:48:44 +0000 (18:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 9 May 2019 20:44:03 +0000 (22:44 +0200)
Fixes:
 - http://autobuild.buildroot.org/results/9c6325e6cc86116d1e8c940e0fcfe94243faa6de

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/bullet/bullet.mk

index 7ff8195c853d1fb57f44f701aedcefa75e23b3ab..36aaa157e1d8c79fd6ef4dbf7a40da81f3e0ef65 100644 (file)
@@ -16,8 +16,8 @@ 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)
+# extras needs dlfcn.h and NPTL (pthread_barrier_init)
+ifeq ($(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_HAS_THREADS_NPTL),:y)
 BULLET_CONF_OPTS += -DBUILD_EXTRAS=ON
 else
 BULLET_CONF_OPTS += -DBUILD_EXTRAS=OFF