From 68f8a98cfbf70e2b7bfcda7831907633eb08ca50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6tz=20Waschk?= Date: Mon, 17 Aug 2009 14:21:42 +0100 Subject: [PATCH] Specify the shared library for g-ir-compile Use the --shared-library option to specify the shared object to link against when compiling the typelib from the GIR data. Signed-off-by: Emmanuele Bassi --- clutter/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/clutter/Makefile.am b/clutter/Makefile.am index 942257846..313193ef8 100644 --- a/clutter/Makefile.am +++ b/clutter/Makefile.am @@ -312,7 +312,11 @@ typelibsdir = $(libdir)/girepository-1.0/ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) %.typelib: %.gir $(INTROSPECTION_COMPILER) - $(QUIET_GEN)$(DEBUG) $(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=. $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) + $(QUIET_GEN)$(DEBUG) $(INTROSPECTION_COMPILER) \ + --includedir=$(srcdir) \ + --includedir=. \ + --shared-library=libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_API_VERSION@.la \ + $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) endif