From a9225d31504cf7032abaef9489297d7b1ed5a2ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Tue, 28 Dec 2021 17:01:08 +0100 Subject: [PATCH] meson.build: use project_{build,source}_root() in devenv The paths are calculated relative to the project root, so use the appropriate functions to retrieve it instead of using the current build/source directory. --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 1e52ef166..419a4c841 100644 --- a/meson.build +++ b/meson.build @@ -505,8 +505,8 @@ run_target('pw-uninstalled', if meson.version().version_compare('>=0.58.0') devenv = environment() - builddir = meson.current_build_dir() - srcdir = meson.current_source_dir() + builddir = meson.project_build_root() + srcdir = meson.project_source_root() devenv.set('PIPEWIRE_CONFIG_DIR', builddir / 'src' / 'daemon') devenv.set('PIPEWIRE_MODULE_DIR', builddir / 'src' / 'modules')