From a11b912dea3f3ad9d51d4600c6aac1b69dc004a9 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Fri, 17 Jul 2009 15:15:03 -0400 Subject: [PATCH] Fix parallel build of introspection We need to explicitly force order so that ClutterJson.gir and Cogl.gir are present in the parent directory before we try to build Clutter.typelib. http://bugzilla.openedhand.com/show_bug.cgi?id=1700 Signed-off-by: Emmanuele Bassi --- clutter/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clutter/Makefile.am b/clutter/Makefile.am index e3c149a64..fc0fa2ef5 100644 --- a/clutter/Makefile.am +++ b/clutter/Makefile.am @@ -273,6 +273,10 @@ Clutter-@CLUTTER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter-@CLUTTER_ BUILT_GIRSOURCES += Clutter-@CLUTTER_API_VERSION@.gir +# ClutterJson.gir and Cogl.gir are used included into Clutter.gir, so need +# to be built before the typelib is generated +Clutter-@CLUTTER_API_VERSION@.typelib: ClutterJson-@CLUTTER_API_VERSION@.gir Cogl-@CLUTTER_API_VERSION@.gir + # We build Cogl.gir in the cogl/ subdir, but it needs to reference the shared # library that it's built into, so we delay compiling the gir into typelib # until after we've built the shared library. To create the final Cogl.gir