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/fortran.py | |
| parent | 0e00470d8c9711e62848a1d697d156cbab66e0bc (diff) | |
| download | meson-fa6ca160548d7e8df9c4c724e6c96f5e004e5316.tar.gz | |
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/fortran.py')
| -rw-r--r-- | mesonbuild/compilers/fortran.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py index e61c97618..5bb3ec9ca 100644 --- a/mesonbuild/compilers/fortran.py +++ b/mesonbuild/compilers/fortran.py @@ -94,8 +94,8 @@ end program prog def split_shlib_to_parts(self, fname): return os.path.dirname(fname), fname - def get_soname_args(self, prefix, shlib_name, suffix, path, soversion, is_shared_module): - return get_gcc_soname_args(self.gcc_type, 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 get_gcc_soname_args(self.gcc_type, prefix, shlib_name, suffix, path, soversion, version, is_shared_module) def get_dependency_gen_args(self, outtarget, outfile): # Disabled until this is fixed: |
