]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - tools/meson-build.sh
meson: check the existence of ninja.build for fuzzer tests
[thirdparty/systemd.git] / tools / meson-build.sh
index 304a7556763646b63488ac3eef9072702e75517e..317dad932d9b25a54a625b8e82746f454b4a0701 100755 (executable)
@@ -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.