summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/ar.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-07-31 17:45:29 +0800
committerGitHub <[email protected]>2020-07-31 17:45:29 +0800
commit02ffe167ede48cc1c7cfc012c6f1b6b8f12a2f07 (patch)
tree2e658c8b128d6bbd45a81bc41049002b996d7eee /xmake/modules/core/tools/ar.lua
parentdeeef0bf58b2cc3a4389c782d7705ddf7c932f56 (diff)
parentc05b341f43ab99a6670773d524197411be81b5ea (diff)
Merge pull request #910 from xmake-io/dlang
Improve ldc2 and gdc support for dlang
Diffstat (limited to 'xmake/modules/core/tools/ar.lua')
-rw-r--r--xmake/modules/core/tools/ar.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/ar.lua b/xmake/modules/core/tools/ar.lua
index 3e520f887..0a8dec91d 100644
--- a/xmake/modules/core/tools/ar.lua
+++ b/xmake/modules/core/tools/ar.lua
@@ -25,6 +25,7 @@ import("private.utils.progress")
-- init it
function init(self)
self:set("arflags", "-cr")
+ self:set("dcarflags", "-cr") -- for dlang/gdc, e.g. x86_64-unknown-linux-gnu-gcc-ar
end
-- make the strip flag