meson: fix out of tree build

Needed for gst-build integration. Thanks to Michael Farrell for the fix
suggestion.

Fix #171
This commit is contained in:
Guillaume Desmottes 2021-11-02 10:18:13 +01:00
parent 0a7d1639e7
commit 32ef12e738

View file

@ -47,6 +47,9 @@ else:
print("Unknown command:", command) print("Unknown command:", command)
sys.exit(1) sys.exit(1)
cargo_cmd.extend(
['--manifest-path', os.path.join(meson_current_source_dir, 'Cargo.toml')])
cargo_cmd.extend(['--prefix', prefix, '--libdir', cargo_cmd.extend(['--prefix', prefix, '--libdir',
os.path.join(prefix, libdir)]) os.path.join(prefix, libdir)])