[vlc-devel] commit: CoInitialize requires -lole32 (Jean-Baptiste Kempf )
git version control
git at videolan.org
Tue Sep 8 12:26:48 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Sep 8 11:26:29 2009 +0200| [e36707dbb2df37d8d41a7073111be455bccc48d9] | committer: Jean-Baptiste Kempf
CoInitialize requires -lole32
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e36707dbb2df37d8d41a7073111be455bccc48d9
---
configure.ac | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 95c962b..0d186bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3822,6 +3822,7 @@ then
[ VLC_ADD_PLUGIN([direct3d])
VLC_ADD_LIBS([direct3d],[-lgdi32])
])
+ VLC_ADD_LIBS([direct3d directx glwin32],[-lole32])
else
AC_MSG_CHECKING(for directX headers in ${with_directx})
if test -f ${with_directx}/ddraw.h
@@ -4006,7 +4007,7 @@ AC_ARG_ENABLE(wingdi,
if test "${enable_wingdi}" != "no"; then
if test "${SYS}" = "mingw32"; then
VLC_ADD_PLUGIN([wingdi])
- VLC_ADD_LIBS([wingdi],[-lgdi32])
+ VLC_ADD_LIBS([wingdi],[-lgdi32 -lole32])
fi
if test "${SYS}" = "mingwce"; then
VLC_ADD_PLUGIN([wingdi])
More information about the vlc-devel
mailing list