diff options
| author | GoaLitiuM <goalitium@kapsi.fi> | 2018-09-15 11:12:46 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-09-16 14:58:50 +0300 |
| commit | 43268bfb79eca55d5d2bd6ff73abcadf9a77c60b (patch) | |
| tree | 0092583d6cb683e91fa4078e887d7805db1b4ecf | |
| parent | 67cc636e5375dae03fb43807d2c5222b8c78910c (diff) | |
| download | meson-43268bfb79eca55d5d2bd6ff73abcadf9a77c60b.tar.gz | |
D: Fix some compiler arguments not getting passed through properly
| -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 6108e937c..938c9ed97 100644 --- a/mesonbuild/compilers/d.py +++ b/mesonbuild/compilers/d.py @@ -306,7 +306,7 @@ class DCompiler(Compiler): for la in linkargs: dcargs.append('-L=' + la.strip()) continue - elif arg.startswith('-link-defaultlib') or arg.startswith('-linker'): + elif arg.startswith(('-link-defaultlib', '-linker', '-link-internally', '-linkonce-templates', '-lib')): # these are special arguments to the LDC linker call, # arguments like "-link-defaultlib-shared" do *not* # denote a library to be linked, but change the default |
