diff options
-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 6108e93..938c9ed 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 |