aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-11-14 16:43:00 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2020-12-03 22:58:07 +0200
commitc21b04ba087189472c60ce6e84987b74e9b7fccd (patch)
tree71a5c7a660cf638e344c26f63b929902689a195e /docs
parent6e39dcad2fbd8d1c739e262b0e7b7d901cf1ce08 (diff)
downloadmeson-c21b04ba087189472c60ce6e84987b74e9b7fccd.zip
meson-c21b04ba087189472c60ce6e84987b74e9b7fccd.tar.gz
meson-c21b04ba087189472c60ce6e84987b74e9b7fccd.tar.bz2
Add prelinking support for static libraries.
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Reference-manual.md4
-rw-r--r--docs/markdown/snippets/prelink.md6
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index aeaeccb..f490f5f 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -1574,6 +1574,10 @@ has one argument the others don't have:
option has no effect on Windows and OS X since it doesn't make
sense on Windows and PIC cannot be disabled on OS X.
+- `prelink` *since0.57.0*: if `true` the object files in the target
+ will be prelinked, meaning that it will contain only one prelinked
+ object file rather than the individual object files.
+
### subdir()
``` meson
diff --git a/docs/markdown/snippets/prelink.md b/docs/markdown/snippets/prelink.md
new file mode 100644
index 0000000..26f5bbb
--- /dev/null
+++ b/docs/markdown/snippets/prelink.md
@@ -0,0 +1,6 @@
+## Add support for prelinked static libraries
+
+The static library gains a new `prelink` keyword argument that can be
+used to prelink object files in that target. This is currently only
+supported for the GNU toolchain, patches to add it to other compilers
+are most welcome.