diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-11-14 16:43:00 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-11-27 18:20:52 +0200 |
commit | f86aa3c0800d3489befe0391c75977aa1d0271bb (patch) | |
tree | a9077253ddda554d32c7e5aef00deec852795968 /docs | |
parent | cef13b04c253150a449eaea806d97207281916eb (diff) | |
download | meson-prelink.tar.gz |
Add prelinking support for static libraries.prelink
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Reference-manual.md | 4 | ||||
-rw-r--r-- | docs/markdown/snippets/prelink.md | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index aeaeccb37..f490f5f08 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 000000000..26f5bbbc2 --- /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. |