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.
-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 \
-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 \
-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 \
-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 \
-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 \
-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 \