mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 13:32:29 +00:00
libs: point gobject-introspection scanner to .la files
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.
This commit is contained in:
parent
6ca0b51e4e
commit
c4a4f2dad2
6 changed files with 6 additions and 6 deletions
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue