docs: Update libdir caveat

Fixes #5514
pull/5532/head
Dylan Baker 6 years ago committed by Jussi Pakkanen
parent b972ee7125
commit d35d7ccad1
  1. 9
      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 `prefix` defaults to `C:/` on Windows, and `/usr/local/` otherwise. You should always
override this value. override this value.
`libdir` is automatically detected based on your platform, but the `libdir` is automatically detected based on your platform, it should be
implementation is [currently buggy](https://github.com/mesonbuild/meson/issues/2038) correct when doing "native" (build machine == host machine) compilation. For
on Linux platforms. 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 ### Core options

Loading…
Cancel
Save