mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
validate: Fix launching gst-validate-launcher in a meson based uninstalled env
This commit is contained in:
parent
53d69adcaf
commit
40d803271c
1 changed files with 2 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue