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

Win32: fix previous build commit

parent 1b4b6c0c
...@@ -507,12 +507,14 @@ AC_ARG_ENABLE(winstore_app, ...@@ -507,12 +507,14 @@ AC_ARG_ENABLE(winstore_app,
[Build targetted for Windows Store apps (default disabled)])) [Build targetted for Windows Store apps (default disabled)]))
vlc_winstore_app=0 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_winstore_app=1
VLC_ADD_LIBS([libvlccore], [-lole32 -lruntimeobject]) VLC_ADD_LIBS([libvlccore], [-lole32 -lruntimeobject])
],[ ],[
VLC_ADD_LIBS([libvlccore],[-lwinmm]) 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]) 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"]) AM_CONDITIONAL([HAVE_WINSTORE], [test "$vlc_winstore_app" = "1"])
......
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