diff options
author | Colin Walters <walters@verbum.org> | 2009-02-05 22:36:35 (GMT) |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-02-11 20:03:16 (GMT) |
commit | 44ea75378eb33fa6386e66e9e5a55f3122363fb8 (patch) | |
tree | 27385b5c523f7390193dba950df134540aabd838 /gir | |
parent | 1b5e689fe2fc105725fe71051c184e0f1c461223 (diff) |
Bug 567906 - Put pkg-config dependencies in .gir files
When generating a .gir file, we now first parse all of our .gir includes
to pick up their <package> headers. Then, we merge that with the set of
--pkg arguments passed to us, run pkg-config to gather the arguments,
and finally save the merged pkg-config list to our new .gir file.
This is useful for software which needs to map from .gir to pkg-config
in a programmatic way.
Diffstat (limited to 'gir')
-rw-r--r-- | gir/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gir/Makefile.am b/gir/Makefile.am index 1adccd5..f74de6d 100644 --- a/gir/Makefile.am +++ b/gir/Makefile.am @@ -33,6 +33,7 @@ GLib-2.0.gir: $(SCANNER_BIN) $(SCANNER_LIBS) Makefile glib-2.0.c --strip-prefix=g \ --libtool="$(LIBTOOL)" \ --library=$(GLIB_LIBRARY) \ + --pkg glib-2.0 \ $(CPPFLAGS) \ -I$(GLIB_INCLUDEDIR) \ -I$(GLIB_LIBDIR)/glib-2.0/include \ |