diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2022-01-12 11:47:57 -0500 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2022-03-07 09:27:02 -0500 |
commit | 01e92dc543fb7443fba8a33687ffd726f11433e8 (patch) | |
tree | 6d5bc574ff198d35aae363baab191f759cbceac6 /test cases | |
parent | 219f40c1e4689060f3c299edd463fc5f5a625608 (diff) | |
download | meson-01e92dc543fb7443fba8a33687ffd726f11433e8.zip meson-01e92dc543fb7443fba8a33687ffd726f11433e8.tar.gz meson-01e92dc543fb7443fba8a33687ffd726f11433e8.tar.bz2 |
Fix default install tag for shared lib symlinks
Versioned shared libraries should have .so file in devel, .so.1 and
.so.1.2.3 in runtime.
Fixes: #9811
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/unit/99 install all targets/meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test cases/unit/99 install all targets/meson.build b/test cases/unit/99 install all targets/meson.build index 94bd1fe..3d131e6 100644 --- a/test cases/unit/99 install all targets/meson.build +++ b/test cases/unit/99 install all targets/meson.build @@ -43,6 +43,12 @@ both_libraries('both', 'lib.c', install: true, ) +# Unversioned .so file should have 'devel' tag, others should have 'runtime' tag +shared_library('versioned_shared', 'lib.c', + install: true, + version: '1.2.3', +) + # Those files should have custom tag install_data('bar-custom.txt', install_dir: get_option('datadir'), |