summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/meson.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index f2f7173f5a9a..905c4d89f501 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -48,7 +48,7 @@ inherit multiprocessing ninja-utils python-utils-r1 toolchain-funcs
EXPORT_FUNCTIONS src_configure src_compile src_test src_install
_MESON_DEPEND=">=dev-util/meson-0.59.4
- >=dev-util/ninja-1.8.2
+ ${NINJA_DEPEND}
dev-util/meson-format-array
"
@@ -285,6 +285,8 @@ meson_feature() {
meson_src_configure() {
debug-print-function ${FUNCNAME} "$@"
+ [[ -n "${NINJA_DEPEND}" ]] || ewarn "Unknown value '${NINJA}' for \${NINJA}"
+
local BUILD_CFLAGS=${BUILD_CFLAGS}
local BUILD_CPPFLAGS=${BUILD_CPPFLAGS}
local BUILD_CXXFLAGS=${BUILD_CXXFLAGS}