mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 13:31:00 +00:00
meson: rename cargo.py to cargo_wrapper.py
Fix 'cargo build' on Windows as its $PATH includes $PWD, it seems to pick our script rather than the actual cargo.
This commit is contained in:
parent
e2a2a17f09
commit
e158f4ef88
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
cargo = find_program('cargo', version:'>=1.39')
|
cargo = find_program('cargo', version:'>=1.39')
|
||||||
cargo_script = find_program('cargo.py')
|
cargo_wrapper = find_program('cargo_wrapper.py')
|
||||||
|
|
||||||
system = build_machine.system()
|
system = build_machine.system()
|
||||||
if system == 'windows'
|
if system == 'windows'
|
||||||
|
@ -88,7 +88,7 @@ rs_plugins = custom_target('gst-plugins-rs',
|
||||||
install: false,
|
install: false,
|
||||||
build_always_stale: true,
|
build_always_stale: true,
|
||||||
depends: depends,
|
depends: depends,
|
||||||
command: [cargo_script,
|
command: [cargo_wrapper,
|
||||||
meson.current_build_dir(),
|
meson.current_build_dir(),
|
||||||
meson.current_source_dir(),
|
meson.current_source_dir(),
|
||||||
meson.build_root(),
|
meson.build_root(),
|
||||||
|
|
Loading…
Reference in a new issue