Pass -install-name arguments to linker
@@ -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*
