gobject-introspection: fix issue when gold linker is used
authorByeong-ryeol Kim <brofkims@gmail.com>
Tue, 11 Jan 2011 14:52:51 +0000 (14:52 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 11 Jan 2011 15:01:25 +0000 (15:01 +0000)
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

gst-libs/gst/pbutils/Makefile.am

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