[libgdata] Bug 610273 — Fails to build without a system-wide libtool



commit 69adbb8d33b4621ca1e1151e0819921039bf1c32
Author: Philip Withnall <philip tecnocode co uk>
Date:   Thu Feb 18 12:55:20 2010 +0000

    Bug 610273 â??  Fails to build without a system-wide libtool
    
    Fix the introspection build if a system-wide libtool isn't available.
    Closes: bgo#610273

 Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index b7f6812..d9ad164 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -367,11 +367,12 @@ EXTRA_DIST += gdata/gdata.symbols
 
 # Introspection
 if HAVE_INTROSPECTION
+_gir_libtool = $(if $(LIBTOOL),--libtool="$(LIBTOOL)") # bgo#610273
 gdata/GData-$(GDATA_API_VERSION).gir: Makefile gdata/libgdata.la
 	$(AM_V_GEN)($(INTROSPECTION_SCANNER)						\
 	--namespace GData --nsversion=$(GDATA_API_VERSION)				\
 	--c-include="gdata/gdata.h" --include=libxml2-2.0 --include=Soup-2.4		\
-	--library=gdata/libgdata.la --output $@						\
+	--library=gdata/libgdata.la $(_gir_libtool) --output $@				\
 	-I$(top_srcdir) -I$(top_srcdir)/gdata						\
 	$(addprefix $(srcdir)/,$(gdatainclude_HEADERS) $(gdataatominclude_HEADERS)	\
 	$(gdatagdinclude_HEADERS) $(gdatamediainclude_HEADERS)				\



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