summaryrefslogtreecommitdiff
path: root/guile
diff options
context:
space:
mode:
authorXiyue Deng <manphiz@gmail.com>2024-02-25 17:18:32 -0800
committerXiyue Deng <manphiz@gmail.com>2024-02-25 17:24:43 -0800
commitdb6191e7960c84c246877b84083d3e2e0426124d (patch)
tree334d35f70a6fb8a61b7aab976b7535ec6009e430 /guile
parentdcbcd697f4b0973f67353ac23574a8cd9a727824 (diff)
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 "<source_root>/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.
Diffstat (limited to 'guile')
-rw-r--r--guile/tests/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/guile/tests/meson.build b/guile/tests/meson.build
index a9c6352..2e3ab9d 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',