diff options
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 f457cf3..95582c9 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')] |