diff options
author | LuÃs Ferreira <lsferreira169@gmail.com> | 2019-02-05 01:22:32 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2019-02-05 11:13:05 +0000 |
commit | b90f196f179e090e640e1193835f6edb77a02909 (patch) | |
tree | 0a766c844277353a90c95df41fd2c6753cf25ef1 /mesonbuild/compilers/d.py | |
parent | 902aaf2ce67a8a2a21580685673400f675bf28c1 (diff) | |
download | meson-b90f196f179e090e640e1193835f6edb77a02909.zip meson-b90f196f179e090e640e1193835f6edb77a02909.tar.gz meson-b90f196f179e090e640e1193835f6edb77a02909.tar.bz2 |
d: fix linker due to argument errors
- revert some changes on d2483d44128778f4d7fe6b028abd2431d2e9f4cc commit.
Signed-off-by: LuÃs Ferreira <lsferreira169@gmail.com>
Diffstat (limited to 'mesonbuild/compilers/d.py')
-rw-r--r-- | mesonbuild/compilers/d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py index 1390694..40906c5 100644 --- a/mesonbuild/compilers/d.py +++ b/mesonbuild/compilers/d.py @@ -380,7 +380,7 @@ class DCompiler(Compiler): # translate library link flag dcargs.append('-L=' + arg) continue - elif arg.startswith('-L'): + elif arg.startswith('-L/') or arg.startswith('-L./'): # we need to handle cases where -L is set by e.g. a pkg-config # setting to select a linker search path. We can however not # unconditionally prefix '-L' with '-L' because the user might |