summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-03-13 16:25:08 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-03-13 16:25:08 +0000
commitb3372bc0d0b5ea0bfa4c77c41850e483e97beb16 (patch)
tree20f42a332c037dfdc41a8f9faf0294818c2d06ec /configure
parent2aa6acd9747aec7f72ebea2addb9cdba98846d7a (diff)
downloadmpv-b3372bc0d0b5ea0bfa4c77c41850e483e97beb16.tar.bz2
mpv-b3372bc0d0b5ea0bfa4c77c41850e483e97beb16.tar.xz
fix compilation with sdl on mingw patch by Nehal <nehalmistry at gmx.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12020 b3059339-0415-0410-9bf9-f77b7e298cf2
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`