diff options
author | Guillaume Desmottes <guillaume@desmottes.be> | 2021-11-02 12:18:13 +0300 |
---|---|---|
committer | Guillaume Desmottes <guillaume@desmottes.be> | 2021-11-02 12:18:13 +0300 |
commit | 32ef12e738e2c4766199f7255ba796b18a715f7e (patch) | |
tree | 16c6ccffc7883c280a21818d55688727fc006739 /cargo_wrapper.py | |
parent | 0a7d1639e7b33d0bd941997bb88762c35473f0d4 (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.py | 3 |
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)]) |