[vlc-commits] [Git][videolan/vlc][master] package/apple: append -simulator to the xros target triple

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Jul 7 09:18:51 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b8789e12 by Felix Paul Kühne at 2026-07-07T09:03:09+00:00
package/apple: append -simulator to the xros target triple

This fixes a regression from  52d4078f which always set a device target
triple breaking simulator builds.

The proposed change matches the previous implicit behavior when we had
a empty CFLAG.

- - - - -


1 changed file:

- extras/package/apple/build.sh


Changes:

=====================================
extras/package/apple/build.sh
=====================================
@@ -218,6 +218,9 @@ set_deployment_target()
         VLC_DEPLOYMENT_TARGET_LDFLAG="${VLC_DEPLOYMENT_TARGET_CFLAG}"
     else
         VLC_DEPLOYMENT_TARGET_CFLAG="--target=${VLC_HOST_ARCH}-apple-xros${VLC_DEPLOYMENT_TARGET}"
+        if [ -n "$VLC_HOST_PLATFORM_SIMULATOR" ]; then
+            VLC_DEPLOYMENT_TARGET_CFLAG="${VLC_DEPLOYMENT_TARGET_CFLAG}-simulator"
+        fi
         VLC_DEPLOYMENT_TARGET_LDFLAG=""
     fi
 }



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b8789e12d07ebe85ebc032ac022565c99767b0b3
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list