aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2024-04-25 22:34:37 +0200
committerWojtek Kosior <koszko@koszko.org>2024-04-25 22:47:07 +0200
commit8bd8fd7820b84c24c7acd1b12e755ea6b42eda9b (patch)
tree2f26df5d80a650dddd18bc41949bd623bdcd83c7
parentf557977ac6c0757de938fb5f048cb27a04e9d444 (diff)
downloadlawrence-boilerplate-8bd8fd7820b84c24c7acd1b12e755ea6b42eda9b.tar.gz
lawrence-boilerplate-8bd8fd7820b84c24c7acd1b12e755ea6b42eda9b.zip
Include build subdir in GUILE_LOAD_PATH.HEADapprentice
-rw-r--r--ax_add_guile_pre_inst_env.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/ax_add_guile_pre_inst_env.m4 b/ax_add_guile_pre_inst_env.m4
index b9d075a..84db314 100644
--- a/ax_add_guile_pre_inst_env.m4
+++ b/ax_add_guile_pre_inst_env.m4
@@ -18,6 +18,7 @@ SOURCE_DIR='"$(cd "$srcdir" && pwd -P)"'
BUILD_DIR="$(cd "$(dirname "[$]0")" && pwd -P)"
export G''UILE_LOAD_PATH="$SOURCE_DIR/m4_default([$2], [src/guile])[]dnl
+:$BUILD_DIR/m4_default([$3], [src/guile])[]dnl
${G''UILE_LOAD_PATH:+:}${G''UILE_LOAD_PATH:-}"
export G''UILE_LOAD_COMPILED_PATH="$BUILD_DIR/m4_default([$3], [src/guile])[]dnl