mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-08 21:17:47 +03:00
tools: explicitly specify "setup" subcommand
As invoking meson without subcommand is deprecated since 0.64.0.
This commit is contained in:
parent
d2ec38e2b2
commit
e3b2f7c056
@ -10,7 +10,7 @@ CC="$5"
|
||||
CXX="$6"
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
[ -f "$dst/build.ninja" ] || CC="$CC" CXX="$CXX" meson "$src" "$dst" $options
|
||||
[ -f "$dst/build.ninja" ] || CC="$CC" CXX="$CXX" meson setup "$src" "$dst" $options
|
||||
|
||||
# Locate ninja binary, on CentOS 7 it is called ninja-build, so
|
||||
# use that name if available.
|
||||
|
@ -73,7 +73,7 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! meson "$build" "-D$fuzzflag" -Db_lundef=false; then
|
||||
if ! meson setup "$build" "-D$fuzzflag" -Db_lundef=false; then
|
||||
cat "$build/meson-logs/meson-log.txt"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user