package/gobject-introspection: fix --includedir
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Wed, 1 Sep 2021 19:13:06 +0000 (21:13 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 11 Sep 2021 14:50:43 +0000 (16:50 +0200)
commit8dda79970661090f202e1f20e5982ba53fdaeb95
tree188c2bf2fde1c4380f86edb8b4daf827914a4462
parentf9985c5d5bfe5ac7864aeb96ff59ac8a9c40e012
package/gobject-introspection: fix --includedir

Set includedir to $(STAGING_DIR)/usr/share/gir-1.0 instead of . in
Makefile.introspection or g-ir-compiler won't find .gir files resulting
in a build failure for autotools-based based programs such as gconf
since bump of gobject-introspection to version 1.68.0 in commit
abc110e3624aa4e8a9bd8595b3fdc0aec60845e0:

Could not find GIR file 'GObject-2.0.gir'; check XDG_DATA_DIRS or use --includedir
error parsing file GConf-2.0.gir: Failed to parse included gir GObject-2.0

Fixes:
 - http://autobuild.buildroot.org/results/8180d893cbd27512915a7f8a3adb232b93a98ceb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/gobject-introspection/gobject-introspection.mk