--- a/src/Makefile.in	2019-12-13 22:50:49.000000000 +0100
+++ b/src/Makefile-patched.in	2020-04-30 22:47:55.667135591 +0200
@@ -59,6 +59,7 @@
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS  = @LDFLAGS@
 BUILD_GOSH_FLAGS =
+GOSH     = @GOSH@
 
 # These are set by configure
 DEFS     = @DEFS@
@@ -526,7 +527,7 @@
 	       "$(DESTDIR)$(SITE_SCM_DIR)" \
 	       "$(DESTDIR)$(SITE_ARCH_DIR)"
 @CROSS_COMPILING_no@GAUCHE_INSTALL = ./gosh -ftest $(srcdir)/gauche-install.in
-@CROSS_COMPILING_yes@GAUCHE_INSTALL = gosh $(srcdir)/gauche-install.in
+@CROSS_COMPILING_yes@GAUCHE_INSTALL = $(GOSH) $(srcdir)/gauche-install.in
 
 install : install-core
 
