summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/makefile.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-08 18:17:44 +0800
committerruki <[email protected]>2015-12-08 18:17:44 +0800
commit733401857a8de8678ae678f8fcf15351acfb2210 (patch)
tree623a33a7a9f39898227e52d7e1336e893e60c473 /xmake/scripts/base/makefile.lua
parente8d202d0fa3fafcb6934fe4836bd7a76e0bfbcca (diff)
redirect log for inserting static library
Diffstat (limited to 'xmake/scripts/base/makefile.lua')
-rw-r--r--xmake/scripts/base/makefile.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/scripts/base/makefile.lua b/xmake/scripts/base/makefile.lua
index b35ac8412..60cf03f01 100644
--- a/xmake/scripts/base/makefile.lua
+++ b/xmake/scripts/base/makefile.lua
@@ -98,8 +98,7 @@ function makefile._make_object_for_static(file, target, srcfile, objfile)
else mode = "" end
-- make command
--- local cmd = string.format("xmake l -P %s -f %s dispatcher ex extract %s %s > %s 2>&1", xmake._PROJECT_DIR, xmake._PROJECT_FILE, srcfile:encode(), objfile:encode(), makefile._LOGFILE)
- local cmd = string.format("xmake l -P %s -f %s dispatcher ex extract %s %s", xmake._PROJECT_DIR, xmake._PROJECT_FILE, srcfile:encode(), objfile:encode())
+ local cmd = string.format("xmake l -P %s -f %s dispatcher ex extract %s %s > %s 2>&1", xmake._PROJECT_DIR, xmake._PROJECT_FILE, srcfile:encode(), objfile:encode(), makefile._LOGFILE)
-- make head
file:write(string.format("%s:", objfile))