diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-12-27 23:43:35 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-12-30 00:51:19 +0200 |
commit | da5da5977ab975480570b06b72df98318f2efd23 (patch) | |
tree | 25bd67ae292b092df226dd354a7d54f4da2c880e /docs/markdown/snippets | |
parent | ab3aeeffe92bc874d5f5a04af0ae9dc568a09ce7 (diff) | |
download | meson-da5da5977ab975480570b06b72df98318f2efd23.zip meson-da5da5977ab975480570b06b72df98318f2efd23.tar.gz meson-da5da5977ab975480570b06b72df98318f2efd23.tar.bz2 |
Default libdir is "lib" when cross compiling. Closes #2535.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/crosslib.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/snippets/crosslib.md b/docs/markdown/snippets/crosslib.md new file mode 100644 index 0000000..14fcc81 --- /dev/null +++ b/docs/markdown/snippets/crosslib.md @@ -0,0 +1,7 @@ +## Libdir defaults to `lib` when cross compiling + +Previously `libdir` defaulted to the value of the build machine such +as `lib/x86_64-linux-gnu`, which is almost always incorrect when cross +compiling. It now defaults to plain `lib` when cross compiling. Native +builds remain unchanged and will point to the current system's library +dir. |