summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-02-04 20:59:27 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-02-04 20:59:27 +0000
commite8da4477297ffb12603680f09fa9b2cd30d0b7b5 (patch)
treebb26896c839fd6a901ae8b4cd6223d824d592c27 /tools/configure
parentb0a3a563a139507cc8c1b679df9b6dd37dee3ec1 (diff)
downloadrockbox-e8da4477297ffb12603680f09fa9b2cd30d0b7b5.zip
rockbox-e8da4477297ffb12603680f09fa9b2cd30d0b7b5.tar.gz
rockbox-e8da4477297ffb12603680f09fa9b2cd30d0b7b5.tar.bz2
rockbox-e8da4477297ffb12603680f09fa9b2cd30d0b7b5.tar.xz
Commit FS#9494 by Yoshihisa Uchida: add support for building the simulators under Windows using MingW
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19923 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 3c1975d..9ea5f9f 100755
--- a/tools/configure
+++ b/tools/configure
@@ -133,6 +133,16 @@ simcc () {
output="rockboxui.exe" # use this as output binary name
;;
+ MINGW*)
+ echo "MinGW host detected"
+
+ # sdl version
+ GCCOPTS="$GCCOPTS `sdl-config --cflags`"
+ LDOPTS="`sdl-config --libs` -mconsole"
+
+ output="rockboxui.exe" # use this as output binary name
+ ;;
+
Linux)
echo "Linux host detected"
if [ "0" != `sdl-config --libs |grep -c mwindows` ]; then