]> git.sesse.net Git - vlc/commitdiff
CoInitialize requires -lole32
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 8 Sep 2009 09:26:29 +0000 (11:26 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 8 Sep 2009 10:26:33 +0000 (12:26 +0200)
configure.ac

index 95c962b02f2d96995aeedc9ea2208ea17db9518a..0d186bf37aafe4fd1ad6aa9f00ca60d170692eb8 100644 (file)
@@ -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])