]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests/Makefile.am: use LIBTOOL variable instead of hardcoded name
authorMaciej Wolny <maciej.wolny@codethink.co.uk>
Wed, 2 May 2018 16:54:08 +0000 (17:54 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 2 May 2018 17:05:20 +0000 (19:05 +0200)
Fixes "can't find libtool" error when running valgrind checks.

Signed-off-by: Maciej Wolny <maciej.wolny@codethink.co.uk>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
tests/Makefile.am

index 7b93fbde6900fe9a136c69c487dcb65c00ea85ca..05db6b1192a452540ad85e3057a53ac044375efc 100644 (file)
@@ -487,7 +487,7 @@ VALGRIND = valgrind --quiet --leak-check=full --trace-children=yes \
        --trace-children-skip="*/tools/virsh","*/tests/commandhelper" \
        --suppressions=$(srcdir)/.valgrind.supp
 valgrind:
-       $(MAKE) check VG="libtool --mode=execute $(VALGRIND)"
+       $(MAKE) check VG="$(LIBTOOL) --mode=execute $(VALGRIND)"
 
 sockettest_SOURCES = \
        sockettest.c \