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.be>2021-11-02 12:18:13 +0300
committerGuillaume Desmottes <guillaume@desmottes.be>2021-11-02 12:18:13 +0300
commit32ef12e738e2c4766199f7255ba796b18a715f7e (patch)
tree16c6ccffc7883c280a21818d55688727fc006739 /cargo_wrapper.py
parent0a7d1639e7b33d0bd941997bb88762c35473f0d4 (diff)
meson: fix out of tree build
Needed for gst-build integration. Thanks to Michael Farrell for the fix suggestion. Fix #171
Diffstat (limited to 'cargo_wrapper.py')
-rw-r--r--cargo_wrapper.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cargo_wrapper.py b/cargo_wrapper.py
index fd86521eb..3ab35ab7d 100644
--- a/cargo_wrapper.py
+++ b/cargo_wrapper.py
@@ -47,6 +47,9 @@ else:
print("Unknown command:", command)
sys.exit(1)
+cargo_cmd.extend(
+ ['--manifest-path', os.path.join(meson_current_source_dir, 'Cargo.toml')])
+
cargo_cmd.extend(['--prefix', prefix, '--libdir',
os.path.join(prefix, libdir)])