gst-env: Fix the gst plugin file path regex for Linux platforms
authorPhilippe Normand <philn@igalia.com>
Sat, 2 Nov 2019 15:27:16 +0000 (16:27 +0100)
committerPhilippe Normand <philn@igalia.com>
Wed, 6 Nov 2019 08:33:46 +0000 (09:33 +0100)
commit2e6bd1ca8d4e09fa7c5f5c8a39ce110d6e9f290c
tree7597cabd56d73fa1d3c08b148f5f34f4cfbdb981
parentaded9c617fa334774d746ef0ebd3cd879c343bb4
gst-env: Fix the gst plugin file path regex for Linux platforms

On Linux, the library file is stored in the platform triplet directory under the
lib directory (hence for example
lib/x86_64-linux-gnu/gstreamer-1.0/libgstfoo.so) so the regex needs to take this
into account.

With this change the LD_LIBRARY_PATH on Linux now contains only the directories
with gst libs, ignoring the plugins, as initially intended in
c6613d8da2191aaf2bd7d1ddd4130a289b02e1ba.

Fixes #56
gst-env.py