diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-06-20 09:34:17 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-21 16:55:18 +0300 |
commit | d35d7ccad1d027be46e02f653c43c7f1dee0ba86 (patch) | |
tree | a5ae46f1e8ddc84e788a0e20ebf04cf6ad75189d | |
parent | b972ee7125ffebe207bb76b97dd3bff989f194a2 (diff) | |
download | meson-d35d7ccad1d027be46e02f653c43c7f1dee0ba86.zip meson-d35d7ccad1d027be46e02f653c43c7f1dee0ba86.tar.gz meson-d35d7ccad1d027be46e02f653c43c7f1dee0ba86.tar.bz2 |
docs: Update libdir caveat
Fixes #5514
-rw-r--r-- | docs/markdown/Builtin-options.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/markdown/Builtin-options.md b/docs/markdown/Builtin-options.md index 77f8db1..cb8c53c 100644 --- a/docs/markdown/Builtin-options.md +++ b/docs/markdown/Builtin-options.md @@ -46,9 +46,12 @@ Installation options are all relative to the prefix, except: `prefix` defaults to `C:/` on Windows, and `/usr/local/` otherwise. You should always override this value. -`libdir` is automatically detected based on your platform, but the -implementation is [currently buggy](https://github.com/mesonbuild/meson/issues/2038) -on Linux platforms. +`libdir` is automatically detected based on your platform, it should be +correct when doing "native" (build machine == host machine) compilation. For +cross compiles meson will try to guess the correct libdir, but it may not be +accurate, especially on Linux where different distributions have different +defaults. Using a [cross file](Cross-compilation.md#defining-the-environment), +particularly the paths section may be necessary. ### Core options |