Skip to content

Commit ee261f3

Browse files
build-aux/pre-inst-env.in (GUILE_LOAD_PATH): Add "abs_top_srcdir"
* build-aux/pre-inst-env.in (GUILE_LOAD_PATH): Add modules from the absolute top source directory to the path.
1 parent 30d2430 commit ee261f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-aux/pre-inst-env.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Guile-SMC -- A State-Machine Compiler.
44

5-
# Copyright (C) 2022 Artyom V. Poptsov <[email protected]>
5+
# Copyright (C) 2022-2024 Artyom V. Poptsov <[email protected]>
66
#
77
# This file is part of Guile-SMC.
88
#
@@ -36,7 +36,7 @@ abs_top_srcdir="`cd "@abs_top_srcdir@" > /dev/null; pwd -P`"
3636
abs_top_builddir="`cd "@abs_top_builddir@" > /dev/null; pwd -P`"
3737

3838
GUILE_LOAD_COMPILED_PATH="$abs_top_builddir${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
39-
GUILE_LOAD_PATH="$abs_top_builddir/modules/:$abs_top_srcdir${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
39+
GUILE_LOAD_PATH="$abs_top_builddir/modules/:$abs_top_srcdir/modules/:$abs_top_srcdir${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
4040
export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH
4141

4242
PATH="$abs_top_builddir/scripts:$abs_top_builddir:$PATH"

0 commit comments

Comments
 (0)