fft: remove gst_init() for g-i scanner again
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 17 Apr 2011 16:59:40 +0000 (17:59 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 17 Apr 2011 17:04:39 +0000 (18:04 +0100)
libgstfft doesn't actually use any symbols from libgstreamer, so when
compiling with -Wl,--as-needed it won't even link to it, which can
cause failures with older versions of g-i that ignore the --pkg
arguments.

Should fix PPA build failure on Ubuntu Maverick

gst-libs/gst/fft/Makefile.am

index 18e7267..68606a5 100644 (file)
@@ -64,7 +64,6 @@ GstFft-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstfft-@GST_MAJORMINOR@
                --libtool="$(top_builddir)/libtool" \
                --pkg gstreamer-@GST_MAJORMINOR@ \
                --pkg-export gstreamer-fft-@GST_MAJORMINOR@ \
-               --add-init-section="gst_init(NULL,NULL);" \
                --output $@ \
                $(gir_headers) \
                $(gir_sources)