[libgee] GObject Introspection support improved. * Added shared library for g-ir-compiler. * See bug #67987,



commit 9e2e24f454d24e8247064116bfcaee0a5bd3a515
Author: Daniel Espinosa <esodan gmail com>
Date:   Fri Oct 19 18:10:51 2012 -0500

    GObject Introspection support improved.
    * Added shared library for g-ir-compiler.
    * See bug #67987, Bug #658002 and Bug #585116

 gee/Makefile.am |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/gee/Makefile.am b/gee/Makefile.am
index be270bf..43cabc6 100644
--- a/gee/Makefile.am
+++ b/gee/Makefile.am
@@ -31,6 +31,7 @@ libgee_0_8_la_SOURCES = \
 	concurrentlist.vala \
 	deque.vala \
 	functions.vala \
+	glist.vala \
 	hashable.vala \
 	hashmap.vala \
 	hashmultimap.vala \
@@ -118,8 +119,14 @@ typelib_DATA = \
 	Gee-0.8.typelib \
 	$(NULL)
 
+# Extract dlname from libfolks.la; see bug #658002.
+# This is what g-ir-scanner does.
+libgee_dlname = \
+	`$(SED) -n "s/^dlname='\([A-Za-z0-9.+-]\+\)'/\1/p" libgee-0.8.la`
+INTROSPECTION_COMPILER_ARGS= \
+	-l $(libgee_dlname)
 Gee-0.8.typelib: Gee-0.8.gir
-	@INTROSPECTION_COMPILER@ -o $@ $^
+	@INTROSPECTION_COMPILER@ $(INTROSPECTION_COMPILER_ARGS) -o $@ $^
 endif
 
 Gee-0.8.gir gee-internals-0.8.vapi gee-0.8.vapi: libgee-0.8.la



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