aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/meson-build.sh')
-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.