summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 5140afbc25..7fd81f797c 100755
--- a/configure
+++ b/configure
@@ -3626,6 +3626,9 @@ if test "$_sdl" = yes ; then
if cygwin ; then
_ld_sdl=`$_sdlconfig --libs | cut -d " " -f 1,4,6 | sed s/no-cygwin/cygwin/`
_inc_sdl=`$_sdlconfig --cflags | cut -d " " -f 1,5,6 | sed s/no-cygwin/cygwin/`
+ elif mingw32 ; then
+ _ld_sdl=`$_sdlconfig --libs | sed s/-mwindows//`
+ _inc_sdl=`$_sdlconfig --cflags | sed s/-Dmain=SDL_main//`
else
_ld_sdl=`$_sdlconfig --libs`
_inc_sdl=`$_sdlconfig --cflags`