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/ldc2.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/modules/core/tools/ldc2.lua') diff --git a/xmake/modules/core/tools/ldc2.lua b/xmake/modules/core/tools/ldc2.lua index c21f90a8f..a9b95af5e 100644 --- a/xmake/modules/core/tools/ldc2.lua +++ b/xmake/modules/core/tools/ldc2.lua @@ -32,7 +32,7 @@ function init(self) _super.init(self) -- init shflags - self:set("shflags", "-shared") + self:set("dc-shflags", "-shared") -- init cxflags for the kind: shared self:set("shared.dcflags", "") -- cgit v1.3.1