From: Rafaël Carré Date: Wed, 13 Mar 2013 17:14:21 +0000 (+0100) Subject: Don't leak -lmingw32 in LIBS X-Git-Tag: 2.1.0-git~1059 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=02627d0f2926e1366afa362f644aee7281f6fc85;p=vlc Don't leak -lmingw32 in LIBS --- diff --git a/configure.ac b/configure.ac index ac10739140..a77d6537cd 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