mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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 commitabc110e362: 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> (cherry picked from commit8dda799706) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
73550db1d6
commit
64d6e2a640
@@ -133,6 +133,12 @@ define GOBJECT_INTROSPECTION_INSTALL_WRAPPERS
|
|||||||
|
|
||||||
$(SED) "s%typelibdir=.*%typelibdir=\$${prefix}/lib/girepository-1.0%g" \
|
$(SED) "s%typelibdir=.*%typelibdir=\$${prefix}/lib/girepository-1.0%g" \
|
||||||
$(STAGING_DIR)/usr/lib/pkgconfig/gobject-introspection-1.0.pc
|
$(STAGING_DIR)/usr/lib/pkgconfig/gobject-introspection-1.0.pc
|
||||||
|
|
||||||
|
# Set includedir to $(STAGING_DIR)/usr/share/gir-1.0 instead of . or
|
||||||
|
# g-ir-compiler won't find .gir files resulting in a build failure for
|
||||||
|
# autotools-based based programs
|
||||||
|
$(SED) "s%includedir=.%includedir=$(STAGING_DIR)/usr/share/gir-1.0%g" \
|
||||||
|
$(STAGING_DIR)/usr/share/gobject-introspection-1.0/Makefile.introspection
|
||||||
endef
|
endef
|
||||||
GOBJECT_INTROSPECTION_POST_INSTALL_STAGING_HOOKS += GOBJECT_INTROSPECTION_INSTALL_WRAPPERS
|
GOBJECT_INTROSPECTION_POST_INSTALL_STAGING_HOOKS += GOBJECT_INTROSPECTION_INSTALL_WRAPPERS
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user