aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/compilers/d.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py
index d94df4b..4e24e4e 100644
--- a/mesonbuild/compilers/d.py
+++ b/mesonbuild/compilers/d.py
@@ -286,7 +286,7 @@ class DmdLikeCompilerMixin(CompilerMixinBase):
# see the comment in the "-L" section
link_expect_arg = False
link_flags_with_arg = [
- '-rpath', '-soname', '-compatibility_version', '-current_version',
+ '-rpath', '-rpath-link', '-soname', '-compatibility_version', '-current_version',
]
for arg in args:
# Translate OS specific arguments first.