summaryrefslogtreecommitdiff
path: root/xmake/tools/ldc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-04-01 19:25:41 +0800
committerruki <[email protected]>2017-04-01 19:25:41 +0800
commit192de2d5897e8bee0eefecabac637443125ce2a5 (patch)
treed8b21f858a96476e7c814b11e6af0c89606866f2 /xmake/tools/ldc.lua
parente215d77087a81a619a241e24077b5066929a2aa2 (diff)
add rpathdirs api
Diffstat (limited to 'xmake/tools/ldc.lua')
-rw-r--r--xmake/tools/ldc.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/tools/ldc.lua b/xmake/tools/ldc.lua
index 0e995017c..531d319be 100644
--- a/xmake/tools/ldc.lua
+++ b/xmake/tools/ldc.lua
@@ -30,6 +30,13 @@ function init(shellname, kind)
-- init super
_super.init(shellname or "ldc", kind)
+
+ -- init shflags
+ _super._g.shflags = { "-shared" }
+
+ -- init cxflags for the kind: shared
+ _super._g.shared = {}
end
+