Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] dbus: pthread static lib
@ 2013-10-05 23:39 Romain Naour
  2013-10-06 10:12 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Romain Naour @ 2013-10-05 23:39 UTC (permalink / raw)
  To: buildroot

-lpthread is missing when dbus is build with static lib

fix build failure:
http://autobuild.buildroot.net/results/80a317e33afd1d5ba2f7dd9ecd89314b09b4b1fe/
http://autobuild.buildroot.net/results/2c3c040624652547bbeec363d7d6b03f2477ff00/
---
 package/dbus/dbus.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index d50f630..e241247 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -30,6 +30,10 @@ DBUS_CONF_OPT = --with-dbus-user=dbus \
 		--with-system-socket=/var/run/dbus/system_bus_socket \
 		--with-system-pid-file=/var/run/messagebus.pid

+ifeq ($(BR2_PREFER_STATIC_LIB),y)
+DBUS_CONF_OPT += LIBS='-lpthread'
+endif
+
 ifeq ($(BR2_microblaze),y)
 # microblaze toolchain doesn't provide inotify_rm_* but does have sys/inotify.h
 DBUS_CONF_OPT += --disable-inotify
-- 
1.8.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-06 10:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-05 23:39 [Buildroot] [PATCH 1/1] dbus: pthread static lib Romain Naour
2013-10-06 10:12 ` Peter Korsgaard
2013-10-06 10:36   ` Romain Naour
2013-10-06 10:55     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox