libs: g-ir-scanner: do not hardcode libtool path
https://bugzilla.gnome.org/show_bug.cgi?id=726571
diff --git a/libs/gst/check/Makefile.am b/libs/gst/check/Makefile.am
index 9ad74d5..1389270 100644
--- a/libs/gst/check/Makefile.am
+++ b/libs/gst/check/Makefile.am
@@ -154,7 +154,7 @@
--library-path=$(top_builddir)/gst \
--library=libgstcheck-@GST_API_VERSION@.la \
--include=Gst-@GST_API_VERSION@ \
- --libtool="$(top_builddir)/libtool" \
+ --libtool="${LIBTOOL}" \
--pkg gstreamer-@GST_API_VERSION@ \
--pkg-export gstreamer-check-@GST_API_VERSION@ \
--add-init-section="gst_init(NULL,NULL);" \