[vlc-commits] Fix gme build on windows

Hugo Beauzée-Luyssen git at videolan.org
Mon Oct 9 16:53:56 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Oct  9 13:41:52 2017 +0200| [29ac34f78a514592126fd71ceb5b23d68986d883] | committer: Hugo Beauzée-Luyssen

Fix gme build on windows

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

 configure.ac | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4a1f846bb8..9ff35c7d87 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2046,8 +2046,6 @@ AC_ARG_ENABLE(gme,
     [use Game Music Emu (default auto)])])
 AS_IF([test "${enable_gme}" != "no"], [
   AC_CHECK_HEADER([gme/gme.h], [
-    VLC_ADD_LIBS([gme], [-lgme])
-
     AC_CHECK_LIB([gme], [gme_identify_header], [
       VLC_ADD_PLUGIN([gme])
     ], [
@@ -2056,6 +2054,7 @@ AS_IF([test "${enable_gme}" != "no"], [
          VLC_ADD_PLUGIN([gme])
       ],, [-lstdc++ $LIBM])
     ])
+    VLC_ADD_LIBS([gme], [-lgme])
   ], [
     AS_IF([test "x${enable_gme}" != "x"], [
       AC_MSG_ERROR([GME cannot be found. Please install the development files.])



More information about the vlc-commits mailing list