openbsd-ports/x11/dbus/patches/patch-dbus-1_pc_in
ajacoutot 07873b5ce6 linking to libdbus-1.0 requires -pthread.
spotted by "Onat I."
2012-07-06 16:28:21 +00:00

15 lines
511 B
Plaintext

$OpenBSD: patch-dbus-1_pc_in,v 1.8 2012/07/06 16:28:21 ajacoutot Exp $
pthreads(3) is needed to link with libdbus-1.
--- dbus-1.pc.in.orig Fri Jul 6 18:11:44 2012
+++ dbus-1.pc.in Fri Jul 6 18:12:27 2012
@@ -12,6 +12,6 @@ daemondir=@DBUS_DAEMONDIR@
Name: dbus
Description: Free desktop message bus
Version: @VERSION@
-Libs: -L${libdir} -ldbus-1
+Libs: -pthread -L${libdir} -ldbus-1
Libs.private: @LIBDBUS_LIBS@
Cflags: -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include @DBUS_STATIC_BUILD_CPPFLAGS@