1
Fork 0
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:
Jan Nieuwenhuizen 2011-01-29 19:51:37 +01:00 committed by Ludovic Courtès
parent 4c35b9f31c
commit e9b7af013b

View file

@ -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