summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/dmd.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-16 10:59:10 +0800
committerruki <[email protected]>2020-05-16 10:59:10 +0800
commitd021df166bfd45c2d18ae6fa39cd685006491d01 (patch)
tree00ae776fe15fc6f70c30877b1b2eaeba2cd3d4f8 /xmake/modules/core/tools/dmd.lua
parent87a0828f8d20d3a1a83aed640e6e77560668e488 (diff)
rename dlang, rust, swift, go ldflags
Diffstat (limited to 'xmake/modules/core/tools/dmd.lua')
-rw-r--r--xmake/modules/core/tools/dmd.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/dmd.lua b/xmake/modules/core/tools/dmd.lua
index eaadb249c..4d74c21ae 100644
--- a/xmake/modules/core/tools/dmd.lua
+++ b/xmake/modules/core/tools/dmd.lua
@@ -27,10 +27,10 @@ import("core.project.project")
function init(self)
-- init arflags
- self:set("dc-arflags", "-lib")
+ self:set("dcarflags", "-lib")
-- init shflags
- self:set("dc-shflags", "-shared", "-fPIC")
+ self:set("dcshflags", "-shared", "-fPIC")
-- init dcflags for the kind: shared
self:set("shared.dcflags", "-fPIC")