From bd074df3f059669a71d70a809eb82bf1afb376de Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 23 Jun 2010 03:14:27 +0200 Subject: [PATCH] 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. --- dbus-1.pc.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dbus-1.pc.in b/dbus-1.pc.in index 866f81ce..e3e63c4f 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 -