build-sys: fix valgrind-tests
authorEvgeny Vereshchagin <evvers@ya.ru>
Tue, 29 Dec 2015 07:11:53 +0000 (07:11 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Tue, 29 Dec 2015 07:44:56 +0000 (07:44 +0000)
Fixes:
```
$ make valgrind-tests TESTS=test-acl-util
  GEN      valgrind-tests
  Running test-acl-util
  /bin/bash: line 4: libtool: command not found
```

Makefile.am

index 00a92e3..3516b50 100644 (file)
@@ -6292,7 +6292,7 @@ valgrind-tests: $(TESTS)
                if file $$f | grep -q shell; then \
                echo -e "$${x}Skipping non-binary $$f"; else \
                echo -e "$${x}Running $$f"; \
-               libtool --mode=execute valgrind -q --leak-check=full --max-stackframe=5242880 --error-exitcode=55 $(builddir)/$$f ; fi; \
+               $(LIBTOOL) --mode=execute valgrind -q --leak-check=full --max-stackframe=5242880 --error-exitcode=55 $(builddir)/$$f ; fi; \
                x="\n\n"; \
        done