From b0cebbedbc208c9d49fdc3c52d4e7f1860ec3d76 Mon Sep 17 00:00:00 2001 From: Michael Farrell Date: Mon, 4 Oct 2021 14:43:14 +1100 Subject: [PATCH] readme: Fix `GST_PLUGIN_PATH` instructions to include target triple. This change also puts the `target/` directory first, for locally-built plugins to take priority over distribution-provided plugins. It also encloses the environment variable in quotes, in case it contains paths with spaces. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6067c130..5506383d 100644 --- a/README.md +++ b/README.md @@ -101,9 +101,11 @@ Then you can easily build and test a specific plugin: ``` $ cargo cbuild --manifest-path video/cdg/Cargo.toml -$ GST_PLUGIN_PATH=$GST_PLUGIN_PATH:target/debug gst-inspect-1.0 cdgdec +$ GST_PLUGIN_PATH="target/x86_64-unknown-linux-gnu/debug:$GST_PLUGIN_PATH" gst-inspect-1.0 cdgdec ``` +Replace `x86_64-unknown-linux-gnu` with your system's Rust target triple (`rustc -vV`). + The plugin can also be installed system-wide: ```