blob: d037747683ef34174498f7b0b9ac5c796f12de88 [file] [log] [blame] [edit]
--- ./rest/Makefile.am.orig 2014-09-03 14:01:16.000000000 +0200
+++ ./rest/Makefile.am 2015-03-27 18:20:11.647583400 +0100
@@ -124,6 +124,7 @@
Rest_@API_VERSION_AM@_gir_EXPORT_PACKAGES = rest-@API_VERSION@
REST_CINCLUDES=$(patsubst %,--c-include='rest/%',$(shell echo $(lib_headers)))
INTROSPECTION_SCANNER_ARGS = $(REST_CINCLUDES)
+INTROSPECTION_SCANNER_ENV = CC="$(CC)"
girdir = $(datadir)/gir-1.0
dist_gir_DATA = $(INTROSPECTION_GIRS)
--- ./rest-extras/Makefile.am.orig 2015-03-27 18:19:35.128554000 +0100
+++ ./rest-extras/Makefile.am 2015-03-27 18:20:01.215165100 +0100
@@ -51,6 +51,7 @@
# need to include ../rest when scanning/compiling
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(top_builddir)/rest --identifier-prefix=
INTROSPECTION_COMPILER_ARGS = --includedir=$(top_builddir)/rest
+INTROSPECTION_SCANNER_ENV = CC="$(CC)"
REST_EXTRAS_CINCLUDES=$(patsubst %,--c-include='rest/%',$(shell echo $(lib_headers)))
INTROSPECTION_SCANNER_ARGS += $(REST_EXTRAS_CINCLUDES)