bin: don't build vlc.exe for Winstore builds

winvlc.c uses API's not available in UWP:
- SetProcessMitigationPolicy
- SetProcessDEPPolicy
- SetDllDirectory
- SetDefaultDllDirectories
- MessageBox

GetCommandLine is allowed but not in mingw-w64 yet.
This commit is contained in:
Steve Lhomme 2024-11-19 06:58:07 +01:00
parent 8ef285a45c
commit 9d866d5680
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Do we build the main VLC binary?
build_vlc = get_option('vlc')
if build_vlc and (host_system != 'darwin' or have_osx)
if build_vlc and (host_system != 'darwin' or have_osx) and not have_win_store
vlc_sources = []
vlc_deps = [m_lib, dl_lib, threads_dep]

View File

@ -4796,7 +4796,7 @@ dnl the VLC binary
dnl
AC_ARG_ENABLE([vlc],
AS_HELP_STRING([--enable-vlc], [build the VLC media player (default enabled)]))
AM_CONDITIONAL([BUILD_VLC], [test "${enable_vlc}" != "no"])
AM_CONDITIONAL([BUILD_VLC], [test "${enable_vlc}" != "no" -a "$vlc_winstore_app" = "0"])
dnl
dnl Fuzzer (at the end not to mess dependencies FLAGS)