summaryrefslogtreecommitdiff
path: root/xmake/modules/core
diff options
context:
space:
mode:
authorruki <[email protected]>2020-10-07 23:10:04 +0800
committerruki <[email protected]>2020-10-07 23:10:04 +0800
commit089b3b754c5b1bfe580a3b3e3b19d506490f9749 (patch)
tree2cadca79eff6c7b5eae62dbe7af9505bf1da7d6f /xmake/modules/core
parentfb24f3450c6578054d6a4817a23341c17139fda2 (diff)
improve ifort toolchain
Diffstat (limited to 'xmake/modules/core')
-rw-r--r--xmake/modules/core/tools/ifort.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/ifort.lua b/xmake/modules/core/tools/ifort.lua
index 37871cb7c..4b79b31c4 100644
--- a/xmake/modules/core/tools/ifort.lua
+++ b/xmake/modules/core/tools/ifort.lua
@@ -49,10 +49,8 @@ if is_host("windows") then
if not opt.rawargs then
argv = winos.cmdargv(argv)
end
- -- @note we cannot put -lib/-dll to @args.txt
- if targetkind == "static" then
- table.insert(argv, 1, "-lib")
- elseif targetkind == "shared" then
+ -- @note we cannot put -dll to @args.txt
+ if targetkind == "shared" then
table.insert(argv, 1, "-dll")
end
return self:program(), argv