mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
meson: use project_build_root
As documented in /meson.build where the variable is defined, meson.build_root() doesn't work as expected with project nesting. I have no idea why anyone would want to embed systemd in another meson project, but let's use the variable if we have it.
This commit is contained in:
parent
9247df5a88
commit
81875efe20
@ -15,7 +15,7 @@ path = run_command(sh, '-c', 'echo "$PATH"').stdout().strip()
|
||||
test_env = environment()
|
||||
test_env.set('SYSTEMD_KBD_MODEL_MAP', kbd_model_map)
|
||||
test_env.set('SYSTEMD_LANGUAGE_FALLBACK_MAP', language_fallback_map)
|
||||
test_env.set('PATH', '@0@:@1@'.format(meson.build_root(), path))
|
||||
test_env.set('PATH', project_build_root + ':' + path)
|
||||
|
||||
############################################################
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user