mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 23:40:16 +01:00
meson/build: fix using correct prefix for "systemdsystemunitdir"
We do the same with autotools. Well, almost the same. Of course, meson's define_variable only accepts a list of two strings, to define one variable. So we cannot also redefine "prefix", unlike configure.ac.
This commit is contained in:
parent
331a7c9943
commit
c840e56e0a
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ install_systemdunitdir = (systemd_systemdsystemunitdir != 'no')
|
|||
|
||||
if install_systemdunitdir and systemd_systemdsystemunitdir == ''
|
||||
assert(systemd_dep.found(), 'systemd required but not found, please provide a valid systemd user unit dir or disable it')
|
||||
systemd_systemdsystemunitdir = systemd_dep.get_pkgconfig_variable('systemdsystemunitdir')
|
||||
systemd_systemdsystemunitdir = systemd_dep.get_pkgconfig_variable('systemdsystemunitdir', define_variable: ['rootprefix', nm_prefix])
|
||||
endif
|
||||
|
||||
enable_systemd_journal = get_option('systemd_journal')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue