summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.once.tail/10-sd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/Makefile.once.tail/10-sd.mk')
-rw-r--r--build-aux/Makefile.once.tail/10-sd.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/Makefile.once.tail/10-sd.mk b/build-aux/Makefile.once.tail/10-sd.mk
index 228d4d0db7..574fadbc85 100644
--- a/build-aux/Makefile.once.tail/10-sd.mk
+++ b/build-aux/Makefile.once.tail/10-sd.mk
@@ -44,7 +44,7 @@ $(foreach f,$(config_headers),$(topoutdir)/$f.stamp): $(topoutdir)/%.stamp: $(to
.PHONY: valgrind-tests
valgrind-tests: $(TESTS)
$(AM_V_GEN)for f in $(filter-out %.pl %.py, $^); do \
- if file $$f | grep -q shell; then \
+ if $(LIBTOOL) --mode=execute 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; \