diff options
author | Michael Farrell <micolous+git@gmail.com> | 2021-10-04 06:43:14 +0300 |
---|---|---|
committer | Michael Farrell <micolous+gh@gmail.com> | 2021-10-18 06:01:05 +0300 |
commit | b0cebbedbc208c9d49fdc3c52d4e7f1860ec3d76 (patch) | |
tree | 62761229695322c8cbe4ce713406d52b3b75dc6e /README.md | |
parent | 70f0aa975801dbb1c5a0f11944f136b45925ecde (diff) |
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.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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: ``` |