From adbcc87f0699702c32fa8dc63aa8aafaa1deca9d Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 3 Apr 2019 22:18:36 +0800 Subject: improve linker --- xmake/modules/core/tools/dmd.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/modules/core/tools/dmd.lua') diff --git a/xmake/modules/core/tools/dmd.lua b/xmake/modules/core/tools/dmd.lua index c11fea5fc..63e9a8313 100644 --- a/xmake/modules/core/tools/dmd.lua +++ b/xmake/modules/core/tools/dmd.lua @@ -31,10 +31,10 @@ import("core.project.project") function init(self) -- init arflags - self:set("arflags", "-lib") + self:set("dc-arflags", "-lib") -- init shflags - self:set("shflags", "-shared", "-fPIC") + self:set("dc-shflags", "-shared", "-fPIC") -- init dcflags for the kind: shared self:set("shared.dcflags", "-fPIC") -- cgit v1.3.1