diff options
author | Allan McRae <allan@archlinux.org> | 2022-03-06 16:06:39 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2022-03-06 16:26:34 +1000 |
commit | c89f42f17b60e24d978664673eb135e352279e89 (patch) | |
tree | ea20640eecb8cdf3af3c9d1e6a64ad99293075ff /test | |
parent | 3a39eff15e23b8c718b4d8edcc4d8f281775e180 (diff) |
meson: do not use meson.source_root() and meson.build_root()
Using meson.source_root() and meson.build_root() are deprectated in
meson-0.56. Using current_source_dir() or current_build_dir() (which
have been available in all Meson versions) would require manually
adding "../" in some places. Instead, use project_source_root() and
project_build_root() and require meson-0.56.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/pacman/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/meson.build b/test/pacman/meson.build index ecab75b2..7ebdd98e 100644 --- a/test/pacman/meson.build +++ b/test/pacman/meson.build @@ -354,7 +354,7 @@ foreach input : pacman_tests args = [ join_paths(meson.current_source_dir(), 'pactest.py'), '--scriptlet-shell', get_option('scriptlet-shell'), - '--bindir', meson.build_root(), + '--bindir', meson.project_build_root(), '--ldconfig', LDCONFIG, '--verbose', join_paths(meson.current_source_dir(), input) |