colord: fix colord-sane path

This commit is contained in:
Jan Tojnar 2017-11-20 16:33:05 +01:00
parent 1566de20c7
commit 0ecb390981
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -61,3 +61,14 @@
- install_dir : join_paths(udev.get_pkgconfig_variable('udevdir'), 'rules.d')
+ install_dir : join_paths(get_option('prefix'), 'lib', 'udev', 'rules.d')
)
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -66,7 +66,7 @@
install_dir: join_paths(get_option('libdir'), 'colord-plugins'),
c_args : [
cargs,
- '-DCOLORD_SANE_BINARY="' + join_paths(get_option('libexecdir'), 'colord-sane' + '"'),
+ '-DCOLORD_SANE_BINARY="' + join_paths(get_option('prefix'), get_option('libexecdir'), 'colord-sane' + '"'),
],
dependencies : [
gio,