guile: separate guile load/extensions path

This commit is contained in:
Dirk-Jan C. Binnema 2024-03-10 10:24:21 +02:00
parent 80745cbe29
commit fdce40af92
1 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,8 @@
# guile test; they don't work with ASAN.
#
if get_option('b_sanitize') == 'none'
guile_load_path=':'.join([
join_paths(meson.project_source_root(), 'guile'),
guile_load_path = join_paths(meson.project_source_root(), 'guile')
guile_extensions_path = ':'.join([
join_paths(meson.project_build_root(), 'guile'),
meson.current_build_dir()])
@ -30,7 +30,7 @@ if get_option('b_sanitize') == 'none'
cpp_args: [
'-DABS_SRCDIR="' + meson.current_source_dir() + '"',
'-DGUILE_LOAD_PATH="' + guile_load_path + '"',
'-DGUILE_EXTENSIONS_PATH="' + guile_load_path + '"'
'-DGUILE_EXTENSIONS_PATH="' + guile_extensions_path + '"'
],
dependencies: [glib_dep, lib_mu_dep]))
else