Index: gstreamer-0.10.25/libs/gst/check/Makefile.am
===================================================================
--- gstreamer-0.10.25.orig/libs/gst/check/Makefile.am
+++ gstreamer-0.10.25/libs/gst/check/Makefile.am
@@ -117,7 +117,7 @@ GstCheck-@GST_MAJORMINOR@.gir: $(INTROSP
 		-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 \
