aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-07-22 23:39:26 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-07-23 08:50:26 +0200
commit0a924a775aa217dfb05396b00abdebd7246e11e6 (patch)
tree959776c405d83df0677f7381b75dbaa3f9bbebcf /tools
parentmeson: do not build module-util.c when libkmod is not found (diff)
downloadsystemd-0a924a775aa217dfb05396b00abdebd7246e11e6.tar.gz
systemd-0a924a775aa217dfb05396b00abdebd7246e11e6.tar.bz2
systemd-0a924a775aa217dfb05396b00abdebd7246e11e6.zip
meson: check the existence of ninja.build for fuzzer tests
Diffstat (limited to 'tools')
-rwxr-xr-xtools/meson-build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/meson-build.sh b/tools/meson-build.sh
index 304a75567..317dad932 100755
--- a/tools/meson-build.sh
+++ b/tools/meson-build.sh
@@ -6,7 +6,7 @@ dst="$2"
target="$3"
options="$4"
-[ -d "$dst" ] || meson "$src" "$dst" $options
+[ -f "$dst/ninja.build" ] || meson "$src" "$dst" $options
# Locate ninja binary, on CentOS 7 it is called ninja-build, so
# use that name if available.