diff --git a/validate/tools/gst-validate-launcher.in b/validate/tools/gst-validate-launcher.in index 28ad909bf2..1787f678d0 100755 --- a/validate/tools/gst-validate-launcher.in +++ b/validate/tools/gst-validate-launcher.in @@ -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')