From c6fb5aec58af87fcb26943bae57b4ba2abd24b74 Mon Sep 17 00:00:00 2001 From: Matthias Klumpp Date: Tue, 20 Dec 2016 23:50:37 +0100 Subject: d: Correctly set SONAME on D shared libraries All D compilers use the system linker, which is very convenient here. --- mesonbuild/compilers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'] -- cgit v1.1