[vlc-commits] commit: GME: fix linking on Win32 (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Tue Nov 2 14:48:01 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Nov  2 14:47:32 2010 +0100| [c46366ce7b2f16f1c5e9efb4cd132538c7fd758b] | committer: Jean-Baptiste Kempf 

GME: fix linking on Win32

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

 configure.ac |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index e194780..1bb335e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2302,7 +2302,11 @@ AC_ARG_ENABLE(gme,
   [  --enable-gme            Game Music Emu support (default auto)])
 AS_IF([test "${enable_gme}" != "no"], [
   AC_CHECK_HEADER([gme/gme.h], [
-    VLC_ADD_LIBS([gme], [-lgme])
+    if test "${SYS}" = "mingw32"; then
+        VLC_ADD_LIBS([gme], [-lgme -lstdc++])
+    else
+        VLC_ADD_LIBS([gme], [-lgme])
+    fi
     VLC_ADD_PLUGIN([gme])
   ], [
     AS_IF([test "x${enable_gme}" != "x"], [



More information about the vlc-commits mailing list