From: Lennart Poettering Date: Wed, 23 Jun 2010 01:14:27 +0000 (+0200) Subject: pkg-config: add a couple of additional variables to .pc X-Git-Tag: dbus-1.3.1~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd074df3f059669a71d70a809eb82bf1afb376de;p=thirdparty%2Fdbus.git pkg-config: add a couple of additional variables to .pc We already export the session services dir in the .pc file, add the system services dir too, as well as the interfaces dir, so that packages can drop their files into the right place. Eventually we need to move the system-services dir to a place that is relocatable to /lib/dbus, and this change makes the location queriable for other projects, as a first step towards that goal. --- diff --git a/dbus-1.pc.in b/dbus-1.pc.in index 866f81ce1..e3e63c4fc 100644 --- a/dbus-1.pc.in +++ b/dbus-1.pc.in @@ -5,11 +5,12 @@ includedir=@includedir@ system_bus_default_address=@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@ sysconfdir=@EXPANDED_SYSCONFDIR@ session_bus_services_dir=@EXPANDED_DATADIR@/dbus-1/services +system_bus_services_dir=@EXPANDED_DATADIR@/dbus-1/system-services +interfaces_dir=@EXPANDED_DATADIR@/dbus-1/interfaces daemondir=@DBUS_DAEMONDIR@ Name: dbus Description: Free desktop message bus Version: @VERSION@ -Libs: -L${libdir} -ldbus-1 @DBUS_CLIENT_LIBS@ +Libs: -L${libdir} -ldbus-1 @DBUS_CLIENT_LIBS@ Cflags: -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include -