]> git.sesse.net Git - vlc/commitdiff
Don't leak -lmingw32 in LIBS
authorRafaël Carré <funman@videolan.org>
Wed, 13 Mar 2013 17:14:21 +0000 (18:14 +0100)
committerRafaël Carré <funman@videolan.org>
Wed, 13 Mar 2013 17:14:21 +0000 (18:14 +0100)
configure.ac

index ac10739140f3e06344d989ce0a6727a9bb661a71..a77d6537cd97693c9079e60170231931842d9081 100644 (file)
@@ -442,10 +442,12 @@ dnl Check for broken versions of mingw-runtime compatability library
     CPPFLAGS="${CPPFLAGS} -D__USE_MINGW_ANSI_STDIO=1"
 
 dnl Check for the need to include the mingwex lib for mingw32
+    VLC_SAVE_FLAGS
     AC_CHECK_LIB(mingwex,opendir,
         AC_CHECK_LIB(mingw32,opendir,,
             [VLC_ADD_LIBS([libvlccore],[-lmingwex])])
     )
+    VLC_RESTORE_FLAGS
 
 dnl Check for fnative-struct or mms-bitfields support for mingw32
     VLC_SAVE_FLAGS