Commit c46366ce authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

GME: fix linking on Win32

parent 16ef665d
......@@ -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"], [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment