summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/ldc2.lua
diff options
context:
space:
mode:
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 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", "")