uninstalled: Make sure that the new gdb python macros are usable
authorThibault Saunier <tsaunier@igalia.com>
Thu, 8 Nov 2018 14:52:03 +0000 (11:52 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 8 Nov 2018 14:52:03 +0000 (11:52 -0300)
directly from the uninstalled env

gst-uninstalled.py

index 4fc58f4..48ae015 100755 (executable)
@@ -112,7 +112,7 @@ def get_subprocess_env(options, gst_version):
     presets = set()
     encoding_targets = set()
     pkg_dirs = set()
-    python_dirs = set()
+    python_dirs = set(["%s/subprojects/gstreamer/libs/gst/helpers/" % options.srcdir])
     if '--installed' in subprocess.check_output(meson + ['introspect', '-h']).decode():
         installed_s = subprocess.check_output(meson + ['introspect', options.builddir, '--installed'])
         for path, installpath in json.loads(installed_s.decode()).items():