aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown')
-rw-r--r--docs/markdown/snippets/crosslib.md7
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.