From d97e480dfe3097e72e6e11d612c42e216b55ba97 Mon Sep 17 00:00:00 2001 From: Sebastian Fricke Date: Mon, 21 Feb 2022 10:58:28 +0100 Subject: [PATCH] meson: Adjust ninja usage restriction info for devenv The documentation within meson highlights, that `ninja` can be used without problems for any case except `ninja reconfigure`. The warning however describes to the user, that `ninja` shouldn't be used at all. Fix the warning. Fixes: 01eb252f678 Don't allow people to run meson inside the uninstalled env Part-of: --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 525c7cf6d9..6d363fd6e7 100644 --- a/meson.build +++ b/meson.build @@ -26,7 +26,7 @@ assert('GST_ENV' not in os.environ) ''' cmdres = run_command(python3, '-c', ensure_not_devenv, check: false) if cmdres.returncode() != 0 - error('Do not run `ninja` or `meson` for gst-build inside the development environment, you will run into problems') + error('Do not run `ninja reconfigure` or `meson` for gst-build inside the development environment, you will run into problems') endif # Install gst-indent pre-commit hook