aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/d.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/compilers/d.py')
-rw-r--r--mesonbuild/compilers/d.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py
index abf9297..6912ac9 100644
--- a/mesonbuild/compilers/d.py
+++ b/mesonbuild/compilers/d.py
@@ -327,11 +327,6 @@ class DCompiler(Compiler):
# a linker search path.
dcargs.append('-L=' + arg)
continue
- elif arg.startswith('/') or arg.startswith('./'):
- # absolute (or relative) paths passed to the linker may be static libraries
- # or other objects that we need to link.
- dcargs.append('-L=' + arg)
- continue
dcargs.append(arg)