[vlc-commits] [Git][videolan/vlc][master] contrib: cargo: don't build the cargo native tool if Rust is disabled

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Jul 3 11:49:10 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
9dc02d87 by Steve Lhomme at 2024-07-03T12:18:33+02:00
contrib: cargo: don't build the cargo native tool if Rust is disabled

- - - - -


1 changed file:

- contrib/src/cargo/rules.mak


Changes:

=====================================
contrib/src/cargo/rules.mak
=====================================
@@ -5,7 +5,9 @@ CARGOC_VERSION=0.9.29
 RUSTUP_VERSION := 1.27.1
 RUSTUP_URL := $(GITHUB)/rust-lang/rustup/archive/refs/tags/$(RUSTUP_VERSION).tar.gz
 
+ifdef BUILD_RUST
 PKGS_TOOLS += cargo
+endif
 
 RUSTUP = . $(CARGO_HOME)/env && \
 	RUSTUP_HOME=$(RUSTUP_HOME) CARGO_HOME=$(CARGO_HOME) rustup



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

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