diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-10-02 00:56:38 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-10-02 01:30:30 +0300 |
commit | ec45c29c9ddd5d848eb1555cdc09246d8900afec (patch) | |
tree | e1aff1df0de7ff5ee8268748fc3bd42a68743a7b /docs | |
parent | 4e428614677476b55b08b152f122508582795922 (diff) | |
download | meson-ec45c29c9ddd5d848eb1555cdc09246d8900afec.zip meson-ec45c29c9ddd5d848eb1555cdc09246d8900afec.tar.gz meson-ec45c29c9ddd5d848eb1555cdc09246d8900afec.tar.bz2 |
Add rpath entries for all found libraries outside of system libraries.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/snippets/prebuilt.md | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/markdown/snippets/prebuilt.md b/docs/markdown/snippets/prebuilt.md index a51176a..19741c4 100644 --- a/docs/markdown/snippets/prebuilt.md +++ b/docs/markdown/snippets/prebuilt.md @@ -1,9 +1,14 @@ -# Better support for prebuilt shared libraries +# Better support for shared libraries in non-system paths Meson has had support for prebuilt object files and static libraries. -This release adds feature parity to shared libraries. This means -that e.g. shipping prebuilt libraries as subprojects now can -be as simple as writing a definition file that looks like this. +This release adds feature parity to shared libraries that are either +in non-standard system paths or shipped as part of your project. On +systems that support rpath, Meson automatically adds rpath entries +to built targets using manually found external libraries. + +This means that e.g. supporting prebuilt libraries shipped with your +source or provided by subprojects or wrap definitions by writing a +build file like this: project('myprebuiltlibrary', 'c') |