[vlc-commits] [Git][videolan/vlc][master] contrib: x264: remove only the linker suffix from the cross prefix

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Oct 24 08:56:13 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
a8383dbd by Nir Halay at 2026-10-24T08:18:36+00:00
contrib: x264: remove only the linker suffix from the cross prefix

Use patsubst instead of subst so directory names containing ld are preserved when deriving the Android toolchain prefix.

- - - - -


1 changed file:

- contrib/src/x264/rules.mak


Changes:

=====================================
contrib/src/x264/rules.mak
=====================================
@@ -34,7 +34,7 @@ endif
 ifdef HAVE_CROSS_COMPILE
 ifndef HAVE_DARWIN_OS
 ifdef HAVE_ANDROID
-X264CONF += --cross-prefix="$(subst ld,,$(LD))"
+X264CONF += --cross-prefix="$(patsubst %ld,%,$(LD))"
 else
 X264CONF += --cross-prefix="$(HOST)-"
 endif



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a8383dbd1918be961f0bc3d3a45292ae6a893857
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