gobject-introspection: fix issue when gold linker is used

Need to pass libgstreamer-0.10 explicitly to linker, since we're
calling gst_init(), which in turn is needed because the encoding
target get_type() function calls gst_value_register().

https://bugzilla.gnome.org/show_bug.cgi?id=639039
This commit is contained in:
Byeong-ryeol Kim 2011-01-11 14:52:51 +00:00 committed by Tim-Philipp Müller
parent e2cc2f4c77
commit 7c55ad4db3

View file

@ -85,6 +85,7 @@ GstPbutils-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_MAJ
--add-include-path=$(srcdir)/../video \ --add-include-path=$(srcdir)/../video \
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \ --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
--library=libgstpbutils-0.10.la \ --library=libgstpbutils-0.10.la \
--library=gstreamer-0.10 \
--include=Gst-0.10 \ --include=Gst-0.10 \
--libtool="$(top_builddir)/libtool" \ --libtool="$(top_builddir)/libtool" \
--pkg gstreamer-0.10 \ --pkg gstreamer-0.10 \