summaryrefslogtreecommitdiff
path: root/gir
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2008-08-20 23:56:40 +0000
committerColin Walters <walters@src.gnome.org>2008-08-20 23:56:40 +0000
commit22c09a76dce4a349436d1fb9ac06d3f55c8fbd31 (patch)
tree31853962aa1d3be62706c4a145331568b5f26fed /gir
parent45d265d6bfe5e4b4b9b4006f1def57fc8d6c39a9 (diff)
downloadgobject-introspection-22c09a76dce4a349436d1fb9ac06d3f55c8fbd31.tar.gz
Remove g_irepository_register_file in favor of g_irepository_require.
2008-08-20 Colin Walters <walters@verbum.org> * girepository/girepository.c: Remove g_irepository_register_file in favor of g_irepository_require. There are two possible deployment scenarios for typelibs: First, separate in $DATADIR/gitypelibs/. Second, they may be embedded in shlibs. However since the first is now the normal case, the API is optimized around it. Refactor internals to look up typelibs for namespaces just-in-time, but we expect consumers to call g_irepository_require. Also, add some docs. No one has died from that before. * gir/Makefile.am: Need --library for glib. * giscanner/girwriter.py: Write out shared-library. * tools/g-ir-writer: Take the first --library argument as the target of shared-library. In the future we should make this nicer with pkg-config probably. svn path=/trunk/; revision=426
Diffstat (limited to 'gir')
-rw-r--r--gir/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/gir/Makefile.am b/gir/Makefile.am
index c01b6a55..f48c77dc 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -12,6 +12,7 @@ GLib.gir: $(G_IR_SCANNER) $(G_IR_SCANNER_FILES)
--noclosure \
--output $@ \
--strip-prefix=g \
+ --library=$(GOBJECT_LIBDIR)/libglib-2.0.so \
-I$(GLIB_INCLUDEDIR) \
-I$(GLIB_LIBDIR)/glib-2.0/include \
-DGETTEXT_PACKAGE=Dummy \