diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-09-17 21:48:41 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-10-08 07:34:39 -0400 |
commit | 4dc798dc7e878f082746c900a9bf0e7c31fe738f (patch) | |
tree | cbe1bc854a6d69563cc2c1f2babb9fd1eb4ec2f9 /mesonbuild/compilers.py | |
parent | 9fdec2d23f5209148da6279d8b3893dfbc682af3 (diff) | |
download | meson-4dc798dc7e878f082746c900a9bf0e7c31fe738f.zip meson-4dc798dc7e878f082746c900a9bf0e7c31fe738f.tar.gz meson-4dc798dc7e878f082746c900a9bf0e7c31fe738f.tar.bz2 |
Check that soname matches the filename. Closes #785.
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r-- | mesonbuild/compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index c81a599..d92d509 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -1894,7 +1894,7 @@ def get_gcc_soname_args(gcc_type, shlib_name, path, soversion): sostr = '.' + soversion if gcc_type == GCC_STANDARD or gcc_type == GCC_MINGW: # Might not be correct for mingw but seems to work. - return ['-Wl,-soname,lib%s.so%s' % (shlib_name, sostr)] + return ['-Wl,-soname,%s%s' % (shlib_name, sostr)] elif gcc_type == GCC_OSX: return ['-install_name', os.path.join(path, 'lib' + shlib_name + '.dylib')] else: |