[vlc-commits] Don't leak -lmingw32 in LIBS

Rafaël Carré git at videolan.org
Wed Mar 13 18:14:40 CET 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Mar 13 18:14:21 2013 +0100| [02627d0f2926e1366afa362f644aee7281f6fc85] | committer: Rafaël Carré

Don't leak -lmingw32 in LIBS

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=02627d0f2926e1366afa362f644aee7281f6fc85
---

 configure.ac |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index ac10739..a77d653 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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



More information about the vlc-commits mailing list