libs: point gobject-introspection scanner to .la files
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 31 Mar 2010 09:43:04 +0000 (10:43 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 3 Apr 2010 12:41:52 +0000 (13:41 +0100)
Point g-ir-scanner to the .la file of our library, which hopefully
makes it find the right dependencies in all cases (ie. our locally
built libgstreamer and not the system-installed one). This is also
how it's done in Gtk+ and how it's documented in the wiki, see
http://live.gnome.org/GObjectIntrospection/AutotoolsIntegration

Based on patches by Vincent Untz and Alan Knowles.

Fixes #603710.

gst/Makefile.am
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 73ca337..e127a09 100644 (file)
@@ -255,7 +255,7 @@ Gst-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstreamer-@GST_MAJORMINOR@
                -I$(top_builddir) \
                -DIN_GOBJECT_INTROSPECTION=1 \
                --c-include='gst/gst.h' \
-               --library=gstreamer-0.10 \
+               --library=libgstreamer-0.10.la \
                --include=GLib-2.0 \
                --include=GObject-2.0 \
                --include=GModule-2.0 \
index d43a7a5..eade3fa 100644 (file)
@@ -60,7 +60,7 @@ GstBase-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstbase-@GST_MAJORMINO
                -I$(top_srcdir) \
                $(gir_cincludes) \
                --add-include-path=$(top_builddir)/gst \
-               --library=gstbase-0.10 \
+               --library=libgstbase-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
                --pkg gstreamer-0.10 \
index a94df7d..6655499 100644 (file)
@@ -118,7 +118,7 @@ GstCheck-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstcheck-@GST_MAJORMI
                -I$(top_srcdir) \
                $(gir_cincludes) \
                --add-include-path=$(top_builddir)/gst \
-               --library=gstcheck-0.10 \
+               --library=libgstcheck-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
                --pkg gstreamer-0.10 \
index 2b1a1ec..03417cb 100644 (file)
@@ -47,7 +47,7 @@ GstController-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstcontroller-@G
                -I$(top_srcdir) \
                $(gir_cincludes) \
                --add-include-path=$(top_builddir)/gst \
-               --library=gstcontroller-0.10 \
+               --library=libgstcontroller-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
                --pkg gstreamer-0.10 \
index e170b23..b02bc09 100644 (file)
@@ -37,7 +37,7 @@ GstDataprotocol-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstdataprotoco
                -I$(top_srcdir) \
                $(gir_cincludes) \
                --add-include-path=$(top_builddir)/gst \
-               --library=gstdataprotocol-0.10 \
+               --library=libgstdataprotocol-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
                --pkg gstreamer-0.10 \
index be22079..3d44cf2 100644 (file)
@@ -38,7 +38,7 @@ GstNet-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstnet-@GST_MAJORMINOR@
                -I$(top_srcdir) \
                $(gir_cincludes) \
                --add-include-path=$(top_builddir)/gst \
-               --library=gstnet-0.10 \
+               --library=libgstnet-0.10.la \
                --include=Gst-0.10 \
                --libtool="$(top_builddir)/libtool" \
                --pkg gstreamer-0.10 \