summaryrefslogtreecommitdiff
path: root/docs/yaml/functions/shared_module.yaml
AgeCommit message (Collapse)Author
2022-02-14shared module: Allow linking on AndroidNirbheek Chauhan
Android requires shared modules that use symbols from other shared modules to be linked before they can be dlopen()ed in the correct order. Not doing so leads to a missing symbol error: https://github.com/android/ndk/issues/201 We need to always allow linking for this. Also add a soname, although it's not confirmed that it's needed, and it doesn't really hurt if it isn't needed.
2021-11-24shared_module: Add soname when used as a link targetNirbheek Chauhan
Emit a detailed deprecation warning that explains what to do instead. Also add a unittest. ``` DEPRECATION: target prog links against shared module mymod, which is incorrect. This will be an error in the future, so please use shared_library() for mymod instead. If shared_module() was used for mymod because it has references to undefined symbols, use shared_libary() with `override_options: ['b_lundef=false']` instead. ``` Fixes https://github.com/mesonbuild/meson/issues/9492
2021-10-03docs: Add the YAML Reference manualDaniel Mensinger