diff options
author | Zeeshan Ali <zeenix@collabora.co.uk> | 2018-09-17 16:53:14 +0200 |
---|---|---|
committer | Zeeshan Ali <zeenix@collabora.co.uk> | 2018-09-17 16:53:59 +0200 |
commit | 67364d55403958129eb1d46d92071d7787dcedbe (patch) | |
tree | 2864834cd87ba818ca90af8fc9997541281b49c5 | |
parent | fcd237b6d6c38bc37d5721611d460e2dbdb9293d (diff) | |
download | geoclue-67364d55403958129eb1d46d92071d7787dcedbe.tar.gz |
build: Use absolute paths in pkg-config variables
Fixes https://gitlab.gnome.org/GNOME/gnome-build-meta/issues/62
(external).
-rw-r--r-- | src/meson.build | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/meson.build b/src/meson.build index 9765338..e2a1376 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,4 +1,5 @@ dbus_interface_dir = get_option('datadir') + '/dbus-1/interfaces' +abs_dbus_interface_dir = join_paths(get_option('prefix'), dbus_interface_dir) subdir('agent') @@ -128,8 +129,8 @@ executable('geoclue', install: true, install_dir: install_dir) -dbus_interface = dbus_interface_dir + '/org.freedesktop.GeoClue2.xml' -agent_dbus_interface = dbus_interface_dir + '/org.freedesktop.GeoClue2.Agent.xml' +dbus_interface = abs_dbus_interface_dir + '/org.freedesktop.GeoClue2.xml' +agent_dbus_interface = abs_dbus_interface_dir + '/org.freedesktop.GeoClue2.Agent.xml' pkgconf = import('pkgconfig') pkgconf.generate(version: gclue_version, name: 'Geoclue', |