aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirben2013-07-09 11:00:55 +1000
committerKirben2013-07-09 11:00:55 +1000
commitcd8c702544fe75d333fa4fa7280f891f9fef7ed6 (patch)
treeb51edf87b1cae4e969a203960533b072f5d4d83d
parentfef7d59c54147c47fb18e1a0fc3f1f32494a7042 (diff)
downloadscummvm-rg350-cd8c702544fe75d333fa4fa7280f891f9fef7ed6.tar.gz
scummvm-rg350-cd8c702544fe75d333fa4fa7280f891f9fef7ed6.tar.bz2
scummvm-rg350-cd8c702544fe75d333fa4fa7280f891f9fef7ed6.zip
BUILD: Disable data path in mingw builds, since it was using a hard coded path. All external data files are stored in the Windows executable file anyway.
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index 5a7b310fd4..9fa698a2ca 100755
--- a/configure
+++ b/configure
@@ -3946,7 +3946,14 @@ fi
test "x$prefix" = xNONE && prefix=/usr/local
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-DEFINES="$DEFINES -DDATA_PATH=\\\"$datadir\\\""
+case $_host_os in
+ mingw*)
+ # Windows stores all the external data files in executable file.
+ ;;
+ *)
+ DEFINES="$DEFINES -DDATA_PATH=\\\"$datadir\\\""
+ ;;
+esac
case $_backend in
openpandora)