diff --git a/configure b/configure index 14fd16c04b..af0c710ce2 100755 --- a/configure +++ b/configure @@ -4050,7 +4050,7 @@ EOF elif cc_check -lGL $_ld_lm $_ld_pthread ; then _gl=yes _libs_mplayer="$_libs_mplayer -lGL $_ld_pthread $_ld_dl" - elif cc_check -lopengl32 ; then + elif cc_check -DGL_WIN32 -lopengl32 ; then _gl=yes _gl_win32=yes _libs_mplayer="$_libs_mplayer -lopengl32 -lgdi32"