All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [git commit] package/bullet: extras needs dlfcn.h and threads
Date: Fri, 26 Apr 2019 09:06:42 +0200	[thread overview]
Message-ID: <20190426070349.F163883723@busybox.osuosl.org> (raw)

commit: https://git.buildroot.net/buildroot/commit/?id=ef333f99a25d328a9d21d3ea26f163b1a79bfdef
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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

                 reply	other threads:[~2019-04-26  7:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190426070349.F163883723@busybox.osuosl.org \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.