mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
build: Use dbus interface dir from pkg-config
Using 'datadir' breaks prefixed builds (as we look for interface files in the prefix we are going to install to). https://gitlab.gnome.org/GNOME/mutter/merge_requests/1094
This commit is contained in:
parent
9fa56176fd
commit
6e7316ef11
@ -127,6 +127,7 @@ xau_dep = dependency('xau')
|
||||
ice_dep = dependency('ice')
|
||||
atk_dep = dependency('atk', version: atk_req)
|
||||
libcanberra_dep = dependency('libcanberra', version: libcanberra_req)
|
||||
dbus_dep = dependency('dbus-1')
|
||||
|
||||
# For now always require X11 support
|
||||
have_x11 = true
|
||||
|
@ -715,7 +715,7 @@ if have_profiler
|
||||
'backends/meta-profiler.h',
|
||||
]
|
||||
|
||||
dbus_interfaces_dir = join_paths(datadir, 'dbus-1', 'interfaces')
|
||||
dbus_interfaces_dir = dbus_dep.get_pkgconfig_variable('interfaces_dir')
|
||||
sysprof3_dbus_file = join_paths(dbus_interfaces_dir, 'org.gnome.Sysprof3.Profiler.xml')
|
||||
|
||||
dbus_sysprof3_profiler_built_sources = gnome.gdbus_codegen('meta-dbus-sysprof3-profiler',
|
||||
|
Loading…
Reference in New Issue
Block a user