summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/linker.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-15 22:40:25 +0800
committerruki <[email protected]>2015-12-15 22:40:25 +0800
commit686e71f6395ea37d2c496e189cc18380841083b2 (patch)
tree2dfef3e61471fb201610d75a9217264b714cbc8d /xmake/scripts/base/linker.lua
parentda041a08d3e2faf3bdb88e9699af4a54f7a50f99 (diff)
add more verbose info
Diffstat (limited to 'xmake/scripts/base/linker.lua')
-rw-r--r--xmake/scripts/base/linker.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/base/linker.lua b/xmake/scripts/base/linker.lua
index 4d7d92248..0c4fdb54f 100644
--- a/xmake/scripts/base/linker.lua
+++ b/xmake/scripts/base/linker.lua
@@ -373,7 +373,7 @@ function linker.check_links(opt, links, sourcefile, objectfile, targetfile)
linker._addflags_from_linker(module, flags, "ldflags")
-- execute the link command
- return module:main(module:command_link(objectfile, targetfile, table.concat(flags, " "):trim(), xmake._NULDEV))
+ return module:main(module:command_link(objectfile, targetfile, table.concat(flags, " "):trim(), utils.ifelse(xmake._OPTIONS.verbose, nil, xmake._NULDEV)))
end
-- return module: linker