diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-11-23 15:29:18 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-11-23 15:29:18 +0100 |
commit | f701287497d545061009ad572c69f86bb10d7a6a (patch) | |
tree | d1964a59cabb198ef9637a09b0aedc3ae5ea3135 /am | |
parent | 9447207f0c9a52d48b2de20b444405dfdd43d465 (diff) |
Allow $GUILE_FOR_BUILD to use its own environment when cross-compiling.
* am/guilec (.scm.go): Use `-L' to specify the search path.
* module/Makefile.am (ice-9/psyntax-pp.go): Likewise.
* meta/uninstalled-env.in (top_builddir): Leave $GUILE_LOAD_PATH,
$GUILE_SYSTEM_PATH, and $GUILE_SYSTEM_EXTENSIONS_PATH unchanged when
cross-compiling.
Diffstat (limited to 'am')
-rw-r--r-- | am/guilec | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -26,6 +26,9 @@ AM_V_GUILEC_0 = @echo " GUILEC" $@; SUFFIXES = .scm .go .scm.go: - $(AM_V_GUILEC)GUILE_AUTO_COMPILE=0 \ + $(AM_V_GUILEC)GUILE_AUTO_COMPILE=0 \ $(top_builddir)/meta/uninstalled-env \ - guild compile --target="$(host)" $(GUILE_WARNINGS) -o "$@" "$<" + guild compile --target="$(host)" $(GUILE_WARNINGS) \ + -L "$(abs_srcdir)" -L "$(abs_builddir)" \ + -L "$(abs_top_srcdir)/guile-readline" \ + -o "$@" "$<" |