build: Add CPPFLAGS for the g-ir-scanner command line

When I moved all CPP flags to AM_CPPFLAGS from the INCLUDES directive
I forgot that g-ir-scanner needs those defines as well.
This commit is contained in:
Emmanuele Bassi 2009-10-17 00:30:37 +01:00
parent ef9ea9e237
commit ad5c0af639

View File

@ -233,6 +233,7 @@ Clutter-@CLUTTER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter-@CLUTTER_
$(QUIET_GEN)$(INTROSPECTION_SCANNER) -v \ $(QUIET_GEN)$(INTROSPECTION_SCANNER) -v \
--namespace Clutter --nsversion=@CLUTTER_API_VERSION@ \ --namespace Clutter --nsversion=@CLUTTER_API_VERSION@ \
$(INCLUDES) \ $(INCLUDES) \
$(AM_CPPFLAGS) \
--add-include-path=cogl/cogl \ --add-include-path=cogl/cogl \
$(json_gir_include_path) \ $(json_gir_include_path) \
--c-include='clutter/clutter.h' \ --c-include='clutter/clutter.h' \