diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-11-04 22:25:24 +0200 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-11-07 17:34:06 +0530 |
commit | 49d20a51c2f2389fd27c6a5122a8fe2b0227d8f1 (patch) | |
tree | dbf5aee5d11b09dbe0aa9a579619693bc6ef9e02 | |
parent | f89f1422bfa54d33dc29334dc2af4fb9e8e53c40 (diff) | |
download | meson-49d20a51c2f2389fd27c6a5122a8fe2b0227d8f1.zip meson-49d20a51c2f2389fd27c6a5122a8fe2b0227d8f1.tar.gz meson-49d20a51c2f2389fd27c6a5122a8fe2b0227d8f1.tar.bz2 |
Add -L= to soname linker argument, too.
-rw-r--r-- | mesonbuild/compilers/d.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py index e33e7ac..aa39030 100644 --- a/mesonbuild/compilers/d.py +++ b/mesonbuild/compilers/d.py @@ -390,7 +390,10 @@ class DmdLikeCompilerMixin: def get_soname_args(self, *args, **kwargs) -> typing.List[str]: # LDC and DMD actually do use a linker, but they proxy all of that with # their own arguments - return Compiler.get_soname_args(self, *args, **kwargs) + soargs = [] + for arg in Compiler.get_soname_args(self, *args, **kwargs): + soargs.append('-L=' + arg) + return soargs def get_allow_undefined_link_args(self) -> typing.List[str]: args = [] |