From a563bb9e28318df30da0b0ab9c8280a8416cd472 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 31 Jul 2019 11:49:03 +0100 Subject: [PATCH] docs: reword meson instructions Signed-off-by: Eric Engestrom Reviewed-by: Caio Marcelo de Oliveira Filho --- docs/meson.html | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/docs/meson.html b/docs/meson.html index c3e4a55..d46741e 100644 --- a/docs/meson.html +++ b/docs/meson.html @@ -255,6 +255,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" should be used. It uses the same format as the native file above: @@ -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 -- 2.7.4