Browse Source

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.
pull/175/head
Steve Lhomme 1 year ago
parent
commit
9d866d5680
  1. 2
      bin/meson.build
  2. 2
      configure.ac

2
bin/meson.build

@ -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]

2
configure.ac

@ -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)

Loading…
Cancel
Save