Use include-uninstalled for internal gir deps.

This stops g-ir-scanner from trying to search for the pkg-config file
for an internal gir, which won't be available.
pull/2269/head
Elliott Sales de Andrade 7 years ago committed by Jussi Pakkanen
parent ae3ea22479
commit 7fb1973cac
  1. 2
      mesonbuild/modules/gnome.py
  2. 1
      test cases/frameworks/12 multiple gir/mesongir/meson.build

@ -486,7 +486,7 @@ class GnomeModule(ExtensionModule):
inc.get_subdir()),
]
scan_command += [
"--include=%s" % (inc.get_basename()[:-4], ),
"--include-uninstalled=%s" % (os.path.join(inc.get_subdir(), inc.get_basename()), )
]
depends += [inc]
else:

@ -23,6 +23,7 @@ girtarget = gnome.generate_gir(
symbol_prefix : 'meson_',
identifier_prefix : 'Meson',
includes : ['GObject-2.0'],
export_packages : 'meson',
install : true
)
meson_gir = girtarget[0]

Loading…
Cancel
Save