aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorMatthias Klumpp <matthias@tenstral.net>2016-12-20 23:50:37 +0100
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>2016-12-21 15:49:44 +0100
commitc6fb5aec58af87fcb26943bae57b4ba2abd24b74 (patch)
treee93a165fe74b16d55d210312899641805570af38 /mesonbuild/compilers.py
parenta9c09e6004ff1b5344782e698549e9fba041fca9 (diff)
downloadmeson-c6fb5aec58af87fcb26943bae57b4ba2abd24b74.zip
meson-c6fb5aec58af87fcb26943bae57b4ba2abd24b74.tar.gz
meson-c6fb5aec58af87fcb26943bae57b4ba2abd24b74.tar.bz2
d: Correctly set SONAME on D shared libraries
All D compilers use the system linker, which is very convenient here.
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r--mesonbuild/compilers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py
index 5d92d5c..42c55e9 100644
--- a/mesonbuild/compilers.py
+++ b/mesonbuild/compilers.py
@@ -1635,7 +1635,8 @@ class DCompiler(Compiler):
return ['-shared']
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):
return ['-unittest']