[json-glib] [build] Use our libtool for the typelib



commit 75b888c26eebf7784c5af045a8c6af353e56b2e9
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Aug 12 13:59:52 2009 +0100

    [build] Use our libtool for the typelib
    
    When compiling the GIR into a .typelib file we can use our own
    libtool script; shave will proxy it to the right place.

 json-glib/Makefile.am |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/json-glib/Makefile.am b/json-glib/Makefile.am
index 8b60b66..586e027 100644
--- a/json-glib/Makefile.am
+++ b/json-glib/Makefile.am
@@ -129,15 +129,17 @@ if HAVE_INTROSPECTION
 BUILT_GIRSOURCES =
 
 Json-1.0.gir: $(INTROSPECTION_SCANNER) libjson-glib-1.0.la
-	$(INTROSPECTION_SCANNER) -v --namespace Json --nsversion=1.0 \
-	     $(INCLUDES) \
-	     --c-include='json-glib/json-object.h' \
-             --include=GObject-2.0 \
-	     --library=json-glib-1.0 \
-             --pkg gobject-2.0 \
-             --output $@ \
-	     $(source_h) \
-	     $(source_c)
+	$(INTROSPECTION_SCANNER) \
+		-v --namespace Json --nsversion=1.0 \
+		$(INCLUDES) \
+		--c-include='json-glib/json-object.h' \
+		--include=GObject-2.0 \
+		--library=json-glib-1.0 \
+		--libtool="$(top_builddir)/libtool" \
+		--pkg gobject-2.0 \
+		--output $@ \
+		$(source_h) \
+		$(source_c)
 
 BUILT_GIRSOURCES += Json-1.0.gir
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]