Commit 8c7727a9 authored by Alicia Boya García's avatar Alicia Boya García Committed by Nirbheek Chauhan

gst-uninstalled: Don't add validate plugins to GST_PLUGIN_PATH

Validate plugins are automatically scanned from GST_VALIDATE_PLUGIN_PATH
instead. Adding them to GST_PLUGIN_PATH causes race conditions as the
plugins may be loaded before validate itself.
parent f90d127c
......@@ -73,9 +73,12 @@ def get_subprocess_env(options):
targets = json.loads(targets_s.decode())
paths = set()
mono_paths = set()
srcdir_path = pathlib.Path(options.srcdir)
for target in targets:
filename = target['filename']
root = os.path.dirname(filename)
if srcdir_path / "subprojects/gst-devtools/validate/plugins" in (srcdir_path / root).parents:
continue
if filename.endswith('.dll'):
mono_paths.add(os.path.join(options.builddir, root))
if typelib_reg.search(filename):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment