aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoaLitiuM <goalitium@kapsi.fi>2018-09-06 04:14:49 +0300
committerGoaLitiuM <goalitium@kapsi.fi>2018-09-06 05:18:07 +0300
commitfd4c996a67328d849c95ae74b7f9315550671a56 (patch)
treeab4afab3a59c50df4b001d2db42c0b19be6eb39c
parentd2483d44128778f4d7fe6b028abd2431d2e9f4cc (diff)
downloadmeson-fd4c996a67328d849c95ae74b7f9315550671a56.zip
meson-fd4c996a67328d849c95ae74b7f9315550671a56.tar.gz
meson-fd4c996a67328d849c95ae74b7f9315550671a56.tar.bz2
Remove translation of file paths
This would also pass all the source and object files to linker, which is not desirable.
-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)