diff options
author | Tom Schoonjans <Tom.Schoonjans@diamond.ac.uk> | 2017-11-03 13:44:38 +0000 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-04-16 22:26:16 +0300 |
commit | fa6ca160548d7e8df9c4c724e6c96f5e004e5316 (patch) | |
tree | 24568f4fe81a1a4201e4e4e5e9800abc28a5d23d /mesonbuild/compilers/cs.py | |
parent | 0e00470d8c9711e62848a1d697d156cbab66e0bc (diff) | |
download | meson-fa6ca160548d7e8df9c4c724e6c96f5e004e5316.zip meson-fa6ca160548d7e8df9c4c724e6c96f5e004e5316.tar.gz meson-fa6ca160548d7e8df9c4c724e6c96f5e004e5316.tar.bz2 |
Add macOS linker versioning information
This patch exploits the information residing in ltversion to set the
-compatibility_version and -current_version flags that are passed to the
linker on macOS.
Diffstat (limited to 'mesonbuild/compilers/cs.py')
-rw-r--r-- | mesonbuild/compilers/cs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cs.py b/mesonbuild/compilers/cs.py index f78e364..581b458 100644 --- a/mesonbuild/compilers/cs.py +++ b/mesonbuild/compilers/cs.py @@ -41,7 +41,7 @@ class CsCompiler(Compiler): def get_link_args(self, fname): return ['-r:' + fname] - def get_soname_args(self, prefix, shlib_name, suffix, path, soversion, is_shared_module): + def get_soname_args(self, prefix, shlib_name, suffix, path, soversion, version, is_shared_module): return [] def get_werror_args(self): |