Skip to content
Snippets Groups Projects
Commit 40d80327 authored by Thibault Saunier's avatar Thibault Saunier
Browse files

validate: Fix launching gst-validate-launcher in a meson based uninstalled env

parent 53d69adc
No related branches found
No related tags found
Loading
......@@ -52,6 +52,8 @@ def _add_gst_launcher_path():
dir_ = os.path.dirname(os.path.abspath(__file__))
root = os.path.split(dir_)[0]
elif __file__.startswith(BUILDDIR):
# Make sure to have the configured config.py in the python path
sys.path.insert(0, os.path.abspath(os.path.join(BUILDDIR, "..", "launcher")))
root = os.path.abspath(os.path.join(SRCDIR, "../"))
else:
root = os.path.join(LIBDIR, 'gst-validate-launcher', 'python')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment