Skip to contentSkip to conversation

dbus: pthread static lib

PATCH New Romain Naour 2 participants 4 messages Oct 5, 2013 – Oct 6, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dbus: pthread static lib

-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(+)
package/dbus/dbus.mk +4 -0
index d50f630..e241247 100644
@@ -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
Signature · 1 line
1.8.4
#1 lore raw

PATCH 1/1 dbus: pthread static lib

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

Romain> -lpthread is missing when dbus is build with static lib
Romain> fix build failure:
Romain> http://autobuild.buildroot.net/results/80a317e33afd1d5ba2f7dd9ecd89314b09b4b1fe/
Romain> http://autobuild.buildroot.net/results/2c3c040624652547bbeec363d7d6b03f2477ff00/

Thanks. You forgot your Signed-off-by tag. Can I add it?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 dbus: pthread static lib

Yes, thanks.

Peter Korsgaard <[email protected]> a ?crit?:

Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

Romain> -lpthread is missing when dbus is build with static lib Romain> fix build failure:
Romain>
http://autobuild.buildroot.net/results/80a317e33afd1d5ba2f7dd9ecd89314b09b4b1fe/
Romain>
http://autobuild.buildroot.net/results/2c3c040624652547bbeec363d7d6b03f2477ff00/

Thanks. You forgot your Signed-off-by tag. Can I add it?

Signature · 1 line
Bye, Peter Korsgaard
Signature · 4 lines
Envoy? de mon t?l?phone Android avec K-9 Mail. Excusez la bri?vet?.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131006/a63cb960/attachment.html>
#3 lore raw

PATCH 1/1 dbus: pthread static lib

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

Romain> Yes, thanks.

Ok, great - Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard