aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 370e35b..4040251 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -607,6 +607,8 @@ class Backend:
continue
if compiler.get_language() == 'd':
arg = '-Wl,' + arg
+ else:
+ arg = compiler.get_linker_lib_prefix() + arg
args.append(arg)
return args