From db6191e7960c84c246877b84083d3e2e0426124d Mon Sep 17 00:00:00 2001 From: Xiyue Deng Date: Sun, 25 Feb 2024 17:18:32 -0800 Subject: [PATCH] Fix guile_load_path to include build path When meson is run in a build path that is different from source root, the generated shared library cannot be found under "/guile". This patch adds the corresponding path under build root to guile_root_path so that they continue to work. This should fix https://github.com/djcb/mu/issues/2631. --- guile/tests/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/guile/tests/meson.build b/guile/tests/meson.build index a9c63524..2e3ab9d0 100644 --- a/guile/tests/meson.build +++ b/guile/tests/meson.build @@ -21,6 +21,7 @@ if get_option('b_sanitize') == 'none' guile_load_path=':'.join([ join_paths(meson.project_source_root(), 'guile'), + join_paths(meson.project_build_root(), 'guile'), meson.current_build_dir()]) test('test-mu-guile',