From e677f2f552d99748d7d145c2a93e94a16d56d2c5 Mon Sep 17 00:00:00 2001 From: GoaLitiuM Date: Sun, 19 Aug 2018 21:01:15 +0300 Subject: Pass -install-name arguments to linker --- mesonbuild/compilers/d.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mesonbuild/compilers/d.py') diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py index 8ede4ec..e67683b 100644 --- a/mesonbuild/compilers/d.py +++ b/mesonbuild/compilers/d.py @@ -239,6 +239,9 @@ class DCompiler(Compiler): for la in linkargs: dcargs.append('-L' + la.strip()) continue + elif arg.startswith('-install-name'): + dcargs.append('-L' + arg) + continue elif arg.startswith('-link-defaultlib') or arg.startswith('-linker'): # these are special arguments to the LDC linker call, # arguments like "-link-defaultlib-shared" do *not* -- cgit v1.1