From c21b04ba087189472c60ce6e84987b74e9b7fccd Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 14 Nov 2020 16:43:00 +0200 Subject: Add prelinking support for static libraries. --- docs/markdown/Reference-manual.md | 4 ++++ docs/markdown/snippets/prelink.md | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 docs/markdown/snippets/prelink.md (limited to 'docs/markdown') 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. -- cgit v1.1