gobject-introspection: make g-ir-scanner try harder to find the right libgstreamer
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 11 Jan 2011 13:47:38 +0000 (13:47 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 11 Jan 2011 14:41:27 +0000 (14:41 +0000)
It's not quite clear to me why g-ir-scanner doesn't get this info from
the pkg-config file, nor why libtool doesn't get it from the .la.

https://bugzilla.gnome.org/show_bug.cgi?id=637549

libs/gst/base/Makefile.am
libs/gst/check/Makefile.am
libs/gst/controller/Makefile.am
libs/gst/dataprotocol/Makefile.am
libs/gst/net/Makefile.am

index 5fe3d3a..01ed290 100644 (file)
@@ -65,6 +65,7 @@ GstBase-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstbase-@GST_MAJORMINO
                -I$(top_builddir)/libs \
                $(gir_cincludes) \
                --add-include-path=$(top_builddir)/gst \
+               --library-path=$(top_builddir)/gst \
                --library=libgstbase-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
index b3f0581..fa3ce48 100644 (file)
@@ -125,6 +125,7 @@ GstCheck-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstcheck-@GST_MAJORMI
                -I$(top_builddir)/libs \
                $(gir_cincludes) \
                --add-include-path=$(top_builddir)/gst \
+               --library-path=$(top_builddir)/gst \
                --library=libgstcheck-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
index 4021a93..8c0a042 100644 (file)
@@ -48,6 +48,7 @@ GstController-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstcontroller-@G
                -I$(top_builddir) \
                $(gir_cincludes) \
                --add-include-path=$(top_builddir)/gst \
+               --library-path=$(top_builddir)/gst \
                --library=libgstcontroller-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
index 4d1994e..5744cd9 100644 (file)
@@ -38,6 +38,7 @@ GstDataprotocol-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstdataprotoco
                -I$(top_builddir) \
                $(gir_cincludes) \
                --add-include-path=$(top_builddir)/gst \
+               --library-path=$(top_builddir)/gst \
                --library=libgstdataprotocol-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
index 5d34e45..65c0be3 100644 (file)
@@ -41,6 +41,7 @@ GstNet-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstnet-@GST_MAJORMINOR@
                -I$(top_builddir)/libs \
                $(gir_cincludes) \
                --add-include-path=$(top_builddir)/gst \
+               --library-path=$(top_builddir)/gst \
                --library=libgstnet-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \