summaryrefslogtreecommitdiff
path: root/xmake/scripts/action/_package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-07-10 15:00:20 +0800
committerruki <[email protected]>2015-07-10 15:00:20 +0800
commitebd3cf08de2fea05bbf32d095f5a5c5a3c38a4f1 (patch)
treebcca6719ce4572f6c6d668de49ea33524bfeb8ab /xmake/scripts/action/_package.lua
parent6381c698b6f253b2ae19330d0363213dd904fe26 (diff)
add install interfaces
Diffstat (limited to 'xmake/scripts/action/_package.lua')
-rw-r--r--xmake/scripts/action/_package.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/action/_package.lua b/xmake/scripts/action/_package.lua
index 18d7d5024..1860b931b 100644
--- a/xmake/scripts/action/_package.lua
+++ b/xmake/scripts/action/_package.lua
@@ -62,8 +62,8 @@ function _package._build(arch, target_name)
-- configure it first
if not _package._config(arch, target_name) then return false end
- -- rebuild it
- if os.execute(string.format("xmake -r -P %s %s", xmake._PROJECT_DIR, target_name)) ~= 0 then
+ -- build it
+ if os.execute(string.format("xmake -P %s %s", xmake._PROJECT_DIR, target_name)) ~= 0 then
-- errors
utils.error("build failed!")
return false