diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-10-08 22:35:27 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-10-08 22:36:06 +0300 |
commit | 683947d9436b37041cf0bb6b02ed23e982be225f (patch) | |
tree | dd11c7446ba3bcc7c5460ce7234f072cca688ff8 /docs/markdown/snippets/prebuilt.md | |
parent | 93aa32219fec2d559ae45747f67ba17a0de06002 (diff) | |
download | meson-683947d9436b37041cf0bb6b02ed23e982be225f.zip meson-683947d9436b37041cf0bb6b02ed23e982be225f.tar.gz meson-683947d9436b37041cf0bb6b02ed23e982be225f.tar.bz2 |
Collated release note snippets to main file.
Diffstat (limited to 'docs/markdown/snippets/prebuilt.md')
-rw-r--r-- | docs/markdown/snippets/prebuilt.md | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/docs/markdown/snippets/prebuilt.md b/docs/markdown/snippets/prebuilt.md deleted file mode 100644 index 19741c4..0000000 --- a/docs/markdown/snippets/prebuilt.md +++ /dev/null @@ -1,20 +0,0 @@ -# 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 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') - - cc = meson.get_compiler('c') - prebuilt = cc.find_library('mylib', dirs : meson.current_source_dir()) - mydep = declare_dependency(include_directories : include_directories('.'), - dependencies : prebuilt) - -Then you can use the dependency object in the same way as any other. |