build: Don't use libdir for systemd unit path
Some systems define it to /usr/lib64 on 64-bit systems, which is not where systemd looks for unit files. Just hardcode 'lib' in the install prefix until we get to use the pkg-config file. https://gitlab.gnome.org/GNOME/gnome-shell/issues/424
This commit is contained in:
parent
0221099e7e
commit
43e8dfacb4
@ -64,7 +64,7 @@ plugindir = get_variable('BROWSER_PLUGIN_DIR', mozplugindir)
|
|||||||
# systemduserunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir',
|
# systemduserunitdir = systemd_dep.get_pkgconfig_variable('systemduserunitdir',
|
||||||
# define_variable: ['prefix', prefix])
|
# define_variable: ['prefix', prefix])
|
||||||
# and uncomment systemd_dep below
|
# and uncomment systemd_dep below
|
||||||
systemduserunitdir = join_paths(libdir, 'systemd', 'user')
|
systemduserunitdir = join_paths(prefix, 'lib', 'systemd', 'user')
|
||||||
|
|
||||||
keybindings_dep = dependency('gnome-keybindings', required: false)
|
keybindings_dep = dependency('gnome-keybindings', required: false)
|
||||||
if keybindings_dep.found()
|
if keybindings_dep.found()
|
||||||
|
Loading…
Reference in New Issue
Block a user