mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
When cross building, run GUILE_FOR_BUILD instead of just-built guile.
* meta/guile.in: Run @GUILE_FOR_BUILD@ when cross-compiling. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
4c35b9f31c
commit
e9b7af013b
1 changed files with 5 additions and 1 deletions
|
@ -45,7 +45,11 @@ XDG_CACHE_HOME=${top_builddir}/cache
|
|||
export XDG_CACHE_HOME
|
||||
|
||||
# do it
|
||||
exec ${top_builddir}/meta/uninstalled-env $GUILE "$@"
|
||||
if test "@cross_compiling@" = "no"; then
|
||||
exec ${top_builddir}/meta/uninstalled-env $GUILE "$@"
|
||||
else
|
||||
exec @GUILE_FOR_BUILD@ "$@"
|
||||
fi
|
||||
|
||||
# never reached
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue