summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2018-10-02 15:36:29 +0100
committerPhilip Withnall <withnall@endlessm.com>2018-10-02 15:36:29 +0100
commit204a4abe68eefac52ca05dda2096db0e0fde0bb7 (patch)
tree63a86b7f55d72df5ef643763ce0216b609785b3f /src
parenta8f368c34e826f76d1244fed5095a1615c986b59 (diff)
libaccountsservice: Expose interfaces directory in pkg-config file
Just like the D-Bus interfaces directory is exposed in dbus-1.pc for the use of any package which needs to install a D-Bus interface file; the accounts-service interfaces directory should be exposed in its pkg-config file. Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'src')
-rw-r--r--src/libaccountsservice/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libaccountsservice/meson.build b/src/libaccountsservice/meson.build
index 0b611d2..4e134db 100644
--- a/src/libaccountsservice/meson.build
+++ b/src/libaccountsservice/meson.build
@@ -87,7 +87,11 @@ pkg.generate(
description: 'Client Library for communicating with accounts service',
filebase: act_name,
subdirs: act_api_name,
- variables: 'exec_prefix=${prefix}',
+ variables: [
+ 'exec_prefix=${prefix}',
+ 'datadir=${prefix}/' + get_option('datadir'),
+ 'interfacesdir=${datadir}/accountsservice/interfaces',
+ ],
)
if get_option('introspection')