diff --git a/configure.ac b/configure.ac index 23cf14124c..5aab7e68c1 100644 --- a/configure.ac +++ b/configure.ac @@ -480,7 +480,6 @@ AS_IF([test "${SYS}" = "mingw32"],[ AS_IF([test "${enable_winstore_app}" = "yes"], [ vlc_winstore_app=1 LIBCOM="-loleaut32" - LDFLAGS="${LDFLAGS} -lwindowsappcompat" VLC_ADD_LIBS([libvlccore], [-lruntimeobject]) AC_LIBOBJ([gai_strerror]) ],[]) diff --git a/extras/package/win32/build.sh b/extras/package/win32/build.sh index 08c94086b9..12173a2c43 100755 --- a/extras/package/win32/build.sh +++ b/extras/package/win32/build.sh @@ -318,7 +318,7 @@ if [ -n "$BUILD_UCRT" ]; then if [ -n "$WINSTORE" ]; then # trick to provide these libraries instead of -ladvapi32 -lshell32 -luser32 -lkernel32 - sed -i -e "s/-ladvapi32/-lwindowsapp -lwindowsappcompat/" $NEWSPECFILE + sed -i -e "s/-ladvapi32/-lwindowsapp/" $NEWSPECFILE sed -i -e "s/-lshell32//" $NEWSPECFILE sed -i -e "s/-luser32//" $NEWSPECFILE sed -i -e "s/-lkernel32//" $NEWSPECFILE diff --git a/meson.build b/meson.build index 716c899e7e..c934d1a003 100644 --- a/meson.build +++ b/meson.build @@ -462,8 +462,6 @@ ucrt_version_test = ''' # Check if we are building for Windows Store if get_option('winstore_app') have_win_store = true - windowsappcompat_lib = cc.find_library('windowsappcompat') - add_project_dependencies(windowsappcompat_lib, language: ['c', 'cpp']) else have_win_desktop = true endif