summaryrefslogtreecommitdiffstats
path: root/tools/configure
diff options
context:
space:
mode:
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 3c1975d4de..9ea5f9f739 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