Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
53ed98bf by Steve Lhomme at 2026-01-17T08:44:19+00:00
uwp: do not link with windowsappcompat anymore

All contribs and VLC code have been cleaned to over time to only use proper
API calls available in UWP.

- - - - -


3 changed files:

- configure.ac
- extras/package/win32/build.sh
- meson.build


Changes:

=====================================
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])
   ],[])


=====================================
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


=====================================
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



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/53ed98bf5e30ab58f12fa359be7e5fb651c7ee52

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/53ed98bf5e30ab58f12fa359be7e5fb651c7ee52
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to