[vlc-commits] [Git][videolan/vlc][master] configure: fix metal toolchain lookup on Xcode 26+

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Mar 12 06:40:52 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
536c1dff by Felix Paul Kühne at 2026-03-11T19:08:51+01:00
configure: fix metal toolchain lookup on Xcode 26+

- - - - -


1 changed file:

- configure.ac


Changes:

=====================================
configure.ac
=====================================
@@ -4435,7 +4435,7 @@ then
 
   AS_IF([test ! "${XCRUN}" = "no"], [
     AC_MSG_CHECKING([for metal (using xcrun)])
-    METAL="$(eval $XCRUN -f metal 2>/dev/null || echo no)"
+    METAL="$(eval $XCRUN --toolchain metal -f metal 2>/dev/null || eval $XCRUN -f metal 2>/dev/null || echo no)"
     AC_MSG_RESULT([${METAL}])
   ], [
     AC_MSG_WARN([Looking for tools without using xcrun])
@@ -4454,7 +4454,7 @@ then
 
   AS_IF([test ! "${XCRUN}" = "no"], [
     AC_MSG_CHECKING([for metallib (using xcrun)])
-    METALLIB="$(eval $XCRUN -f metallib 2>/dev/null || echo no)"
+    METALLIB="$(eval $XCRUN --toolchain metal -f metallib 2>/dev/null || eval $XCRUN -f metallib 2>/dev/null || echo no)"
     AC_MSG_RESULT([${METALLIB}])
   ], [
     AC_MSG_WARN([Looking for tools without using xcrun])



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

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


VideoLAN code repository instance


More information about the vlc-commits mailing list