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, ...@@ -2302,7 +2302,11 @@ AC_ARG_ENABLE(gme,
[ --enable-gme Game Music Emu support (default auto)]) [ --enable-gme Game Music Emu support (default auto)])
AS_IF([test "${enable_gme}" != "no"], [ AS_IF([test "${enable_gme}" != "no"], [
AC_CHECK_HEADER([gme/gme.h], [ AC_CHECK_HEADER([gme/gme.h], [
if test "${SYS}" = "mingw32"; then
VLC_ADD_LIBS([gme], [-lgme -lstdc++])
else
VLC_ADD_LIBS([gme], [-lgme]) VLC_ADD_LIBS([gme], [-lgme])
fi
VLC_ADD_PLUGIN([gme]) VLC_ADD_PLUGIN([gme])
], [ ], [
AS_IF([test "x${enable_gme}" != "x"], [ 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