summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/ldc2.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-24 21:10:49 +0800
committerGitHub <[email protected]>2020-05-24 21:10:49 +0800
commitfb2ba113ca1534249b0872002af0f133becd7e51 (patch)
treed5bc9fb1553f622842712b18a7959a0c08a92d63 /xmake/modules/core/tools/ldc2.lua
parentdd09a2264181f82a0b6aefb38dce5c92fb3af8fe (diff)
parent5ad2eaee8cd65987359dbdfc5149bdd61b9260fc (diff)
Merge pull request #792 from xmake-io/toolchain
Improve to detect cross-compilation toolchains
Diffstat (limited to 'xmake/modules/core/tools/ldc2.lua')
-rw-r--r--xmake/modules/core/tools/ldc2.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/ldc2.lua b/xmake/modules/core/tools/ldc2.lua
index ef4796156..9cf9fd48b 100644
--- a/xmake/modules/core/tools/ldc2.lua
+++ b/xmake/modules/core/tools/ldc2.lua
@@ -28,7 +28,7 @@ function init(self)
_super.init(self)
-- init shflags
- self:set("dc-shflags", "-shared")
+ self:set("dcshflags", "-shared")
-- init cxflags for the kind: shared
self:set("shared.dcflags", "")