Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-01-02 19:07:47 +0300
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-01-03 07:05:10 +0300
commite158f4ef88b2f418d2a5ba0b4ec5e1d78fdf3ce4 (patch)
treede2af89ab71e97f4ff8ba3a236d92981726f8b6b /meson.build
parente2a2a17f09f35bb9751213c728362588a5889ef2 (diff)
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.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index c783d60cb..119f4ca6d 100644
--- a/meson.build
+++ b/meson.build
@@ -10,7 +10,7 @@ else
endif
cargo = find_program('cargo', version:'>=1.39')
-cargo_script = find_program('cargo.py')
+cargo_wrapper = find_program('cargo_wrapper.py')
system = build_machine.system()
if system == 'windows'
@@ -88,7 +88,7 @@ rs_plugins = custom_target('gst-plugins-rs',
install: false,
build_always_stale: true,
depends: depends,
- command: [cargo_script,
+ command: [cargo_wrapper,
meson.current_build_dir(),
meson.current_source_dir(),
meson.build_root(),