d: Correctly set SONAME on D shared libraries

All D compilers use the system linker, which is very convenient here.
pull/1218/head
Matthias Klumpp 8 years ago committed by Igor Gnatenko
parent a9c09e6004
commit c6fb5aec58
  1. 3
      mesonbuild/compilers.py

@ -1635,7 +1635,8 @@ class DCompiler(Compiler):
return ['-shared'] return ['-shared']
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, is_shared_module):
return [] # FIXME: Make this work for Windows, MacOS and cross-compiling
return get_gcc_soname_args(GCC_STANDARD, prefix, shlib_name, suffix, path, soversion, is_shared_module)
def get_unittest_args(self): def get_unittest_args(self):
return ['-unittest'] return ['-unittest']

Loading…
Cancel
Save