diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-03-04 13:09:05 +0530 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-03-04 09:12:51 -0500 |
commit | a24651f33a925c5860a58c3fb8e7b5ec2efbccbd (patch) | |
tree | 01b8f3dedf1ec4147f25ebaa6a110f454918f1ff /test cases/osx | |
parent | 2ecb26c9ae093a16c1f79b3b81ca0c66c054f579 (diff) | |
download | meson-a24651f33a925c5860a58c3fb8e7b5ec2efbccbd.zip meson-a24651f33a925c5860a58c3fb8e7b5ec2efbccbd.tar.gz meson-a24651f33a925c5860a58c3fb8e7b5ec2efbccbd.tar.bz2 |
darwin: Also add the major version in the dylib
And symlink to the unversioned library for build-time linking.
https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html#//apple_ref/doc/uid/TP40002013-SW2
Unlike Autotools, we do not add the minor or micro version in the
filename because the Apple documentation says you must embed that inside
the library with -current_version.
Diffstat (limited to 'test cases/osx')
-rw-r--r-- | test cases/osx/2 library versions/installed_files.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test cases/osx/2 library versions/installed_files.txt b/test cases/osx/2 library versions/installed_files.txt index 4d58502..fc76046 100644 --- a/test cases/osx/2 library versions/installed_files.txt +++ b/test cases/osx/2 library versions/installed_files.txt @@ -1,4 +1,7 @@ usr/lib/libsome.dylib +usr/lib/libsome.0.dylib usr/lib/libnoversion.dylib usr/lib/libonlyversion.dylib +usr/lib/libonlyversion.1.dylib usr/lib/libonlysoversion.dylib +usr/lib/libonlysoversion.5.dylib |