[vlc-commits] Win32: fix previous build commit

Jean-Baptiste Kempf git at videolan.org
Fri Nov 21 14:17:25 CET 2014


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Nov 21 14:17:08 2014 +0100| [e3fab4b9caf14c901d3116254c9b37d55450db7b] | committer: Jean-Baptiste Kempf

Win32: fix previous build commit

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

 configure.ac |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 2cabc31..134a450 100644
--- a/configure.ac
+++ b/configure.ac
@@ -507,12 +507,14 @@ AC_ARG_ENABLE(winstore_app,
                     [Build targetted for Windows Store apps (default disabled)]))
 
 vlc_winstore_app=0
-AS_IF([test "${SYS}" = "mingw32" -a "${enable_winstore_app}" = "yes"], [
+AS_IF([test "${SYS}" = "mingw32"],[
+  AS_IF([test "${enable_winstore_app}" = "yes"], [
     vlc_winstore_app=1
      VLC_ADD_LIBS([libvlccore], [-lole32 -lruntimeobject])
     ],[
      VLC_ADD_LIBS([libvlccore],[-lwinmm])
     ])
+  ])
 AC_DEFINE_UNQUOTED(VLC_WINSTORE_APP, ${vlc_winstore_app}, [Define to 1 if you want to build for Windows Store apps])
 AM_CONDITIONAL([HAVE_WINSTORE], [test "$vlc_winstore_app" = "1"])
 



More information about the vlc-commits mailing list