From: Eric Engestrom Date: Wed, 31 Jul 2019 10:49:03 +0000 (+0100) Subject: docs: reword meson instructions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a563bb9e28318df30da0b0ab9c8280a8416cd472;p=mesa.git docs: reword meson instructions Signed-off-by: Eric Engestrom Reviewed-by: Caio Marcelo de Oliveira Filho --- diff --git a/docs/meson.html b/docs/meson.html index c3e4a558391..d46741e6799 100644 --- a/docs/meson.html +++ b/docs/meson.html @@ -254,6 +254,18 @@ Then configure meson: +

+Meson < 0.49 doesn't support native files, so to specify a custom +llvm-config you need to modify your $PATH (or +%PATH% on windows), which will be searched for +llvm-config, llvm-config$version, +and llvm-config-$version: +

+
+PATH=/path/to/folder/with/llvm-config:$PATH meson build
+
+
+

For selecting llvm-config for cross compiling a "cross file" @@ -275,13 +287,6 @@ should be used. It uses the same format as the native file above: See the Cross Compilation section for more information.

-

-For older versions of meson $PATH (or %PATH% on -windows) will be searched for llvm-config (and llvm-config$version and -llvm-config-$version), you can override this environment variable to control -the search: PATH=/path/with/llvm-config:$PATH meson build. -

-
PKG_CONFIG_PATH

The pkg-config utility is a hard requirement for configuring and