diff options
Diffstat (limited to 'tools/g-ir-tool-template.in')
-rwxr-xr-x | tools/g-ir-tool-template.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/g-ir-tool-template.in b/tools/g-ir-tool-template.in index 3b33f75d..8462f88a 100755 --- a/tools/g-ir-tool-template.in +++ b/tools/g-ir-tool-template.in @@ -61,7 +61,7 @@ if '@gir_dir_prefix@' and not '@gir_dir_prefix@'.startswith('@'): # for autotools elif '@GIR_DIR@' and not '@GIR_DIR@'.startswith('@'): girdir = os.path.dirname(os.path.abspath('@GIR_DIR@')) -builtins.__dict__['GIRDIR'] = girdir +builtins.__dict__['GIRDIR'] = [girdir] # Again, relative paths first so that the installation prefix is relocatable pylibdir = os.path.abspath(os.path.join(filedir, '..', 'lib', 'gobject-introspection')) @@ -85,6 +85,7 @@ if not os.path.isfile(os.path.join(pylibdir, 'giscanner', '_giscanner' + py_mod_ # We're running uninstalled inside meson builddir = os.path.abspath(os.path.join(filedir, '..')) pylibdir = builddir + builtins.__dict__['GIRDIR'].append(os.path.join(filedir, os.pardir, 'gir')) gdump_path = os.path.join(builddir, 'girepository', 'gdump.c') if os.path.isfile(gdump_path): builtins.__dict__['GDUMP_PATH'] = gdump_path |