mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-06-07 16:08:55 +00:00
cargo: fix build issue with cargo-c
Using ubuntu 20.04, the build was failing with version cargo 0.47 / rustc 1.47. Following this discussion: https://github.com/rust-lang/cargo/issues/9340 it appears that rustc 1.52 is the minimum version.
This commit is contained in:
parent
3b37c87182
commit
6b5e536ca6
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@ endif
|
||||||
cargo = find_program('cargo', version:'>=1.40')
|
cargo = find_program('cargo', version:'>=1.40')
|
||||||
cargo_wrapper = find_program('cargo_wrapper.py')
|
cargo_wrapper = find_program('cargo_wrapper.py')
|
||||||
cargo_c = find_program('cargo-cbuild', required: false)
|
cargo_c = find_program('cargo-cbuild', required: false)
|
||||||
|
rustc = find_program('rustc', version:'>=1.52')
|
||||||
|
|
||||||
if not cargo_c.found()
|
if not cargo_c.found()
|
||||||
error('cargo-c missing, install it with: \'cargo install cargo-c\'')
|
error('cargo-c missing, install it with: \'cargo install cargo-c\'')
|
||||||
|
|
Loading…
Reference in a new issue