[vlc-commits] [Git][videolan/vlc][master] modules: Makefile.am: fix $(CC) and $(AR) quoting for cargo

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Nov 14 10:33:04 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
270e1d0d by Alexandre Janniaux at 2026-11-14T09:59:17+00:00
modules: Makefile.am: fix $(CC) and $(AR) quoting for cargo

When using CC="ccache gcc", the libtool cargo command was launched as

    TARGET_CC=ccache gcc ... libtool_cargo.sh ...

so gcc was launched instead of libtool_cargo.sh.

Fix #30408

- - - - -


1 changed file:

- modules/Makefile.am


Changes:

=====================================
modules/Makefile.am
=====================================
@@ -32,7 +32,7 @@ RUSTFLAGS += --cfg vlc_static_plugins
 endif
 
 LIBTOOL_CARGO = \
-	TARGET_CC=$(CC) TARGET_AR=$(AR) \
+	TARGET_CC="$(CC)" TARGET_AR="$(AR)" \
 	TARGET_CFLAGS="$(CFLAGS)" \
 	RUSTTARGET="@RUST_TARGET@" \
 	RUSTFLAGS="${RUSTFLAGS}" \



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

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