aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordhewg2011-02-06 15:29:22 +0100
committerdhewg2011-02-14 18:58:54 +0100
commitae25d185d5976f9210f70c02c7951171db3497bb (patch)
treec5bb0616d2dd553a1cb458979cb47c769ac3ac42
parent0da6b15539c4dbb1371cd18ae77b90688ef3f764 (diff)
downloadscummvm-rg350-ae25d185d5976f9210f70c02c7951171db3497bb.tar.gz
scummvm-rg350-ae25d185d5976f9210f70c02c7951171db3497bb.tar.bz2
scummvm-rg350-ae25d185d5976f9210f70c02c7951171db3497bb.zip
BUILD: Add HOSTEXEPRE as prefix for EXECUTABLE
the android port needs to link a shared object for scummvm
-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