diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-09-06 16:35:55 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-09-06 16:35:55 +0300 |
| commit | 4dd6a85075703733f1f610df650b82879b911be7 (patch) | |
| tree | 21af6c7b1a1d66a45dcd52606699e305f890209f /compilers.py | |
| parent | 2e3bd006d319aca659cfbd8a31894e641a7a79e6 (diff) | |
| download | meson-4dd6a85075703733f1f610df650b82879b911be7.tar.gz | |
Fix Windows again.
Diffstat (limited to 'compilers.py')
| -rw-r--r-- | compilers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compilers.py b/compilers.py index f457cf340..95582c94c 100644 --- a/compilers.py +++ b/compilers.py @@ -1049,7 +1049,8 @@ def get_gcc_soname_args(gcc_type, shlib_name, path, soversion): sostr = '' else: sostr = '.' + soversion - if gcc_type == GCC_STANDARD: + 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)] elif gcc_type == GCC_OSX: return ['-install_name', os.path.join(path, 'lib' + shlib_name + '.dylib')] |
