aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xconfigure2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 844a063f8f..2c1206ae32 100644
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,7 @@ ZIP ?= zip -q
# Misc stuff - you should never have to edit this #
#######################################################################
-EXECUTABLE := scummvm$(EXEEXT)
+EXECUTABLE := $(EXEPRE)scummvm$(EXEEXT)
include $(srcdir)/Makefile.common
diff --git a/configure b/configure
index b0d02e9609..7423fed563 100755
--- a/configure
+++ b/configure
@@ -1184,6 +1184,7 @@ fi
# Determine extension used for executables
#
get_system_exe_extension $_host_os
+HOSTEXEPRE=
HOSTEXEEXT=$_exeext
#
@@ -3222,6 +3223,7 @@ STATICLIBPATH=$_staticlibpath
BACKEND := $_backend
MODULES += $MODULES
MODULE_DIRS += $MODULE_DIRS
+EXEPRE := $HOSTEXEPRE
EXEEXT := $HOSTEXEEXT
NASM := $NASM
NASMFLAGS := $NASMFLAGS