meson/test cases/unit/1 soname
Nirbheek Chauhan af5993fffd shared_module: Add soname when used as a link target
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-11-24 23:18:53 +05:30
..
CMakeLists.txt Allow soname to be an arbitrary string and fix symlink generation. 2016-11-26 22:16:05 +02:00
main.c shared_module: Add soname when used as a link target 2021-11-24 23:18:53 +05:30
meson.build shared_module: Add soname when used as a link target 2021-11-24 23:18:53 +05:30
versioned.c Bootstrap test code with CMake. 2016-11-21 01:04:10 +02:00