#!/bin/shset-eux
src="$1"dst="$2"target="$3"options="$4"CC="$5"CXX="$6"[-f"$dst/ninja.build"]||CC="$CC"CXX="$CXX"meson"$src""$dst"$options# Locate ninja binary, on CentOS 7 it is called ninja-build, so# use that name if available.ninja=ninja
ifwhichninja-build>/dev/null2>&1;thenninja=ninja-build
fi"$ninja"-C"$dst""$target"