summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools
diff options
context:
space:
mode:
authorruki <[email protected]>2021-02-10 23:25:17 +0800
committerruki <[email protected]>2021-02-10 23:25:17 +0800
commitc4632c178d2776e538459f5e49a93db88aa3f252 (patch)
treec6073dd0d39024f2470c32513f470005185a201b /xmake/modules/package/tools
parent21132a0efb088b4a5e9399282d6328ff6c5e0056 (diff)
rename package os to package targetos
Diffstat (limited to 'xmake/modules/package/tools')
-rw-r--r--xmake/modules/package/tools/autoconf.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua
index da1210329..3bfa23181 100644
--- a/xmake/modules/package/tools/autoconf.lua
+++ b/xmake/modules/package/tools/autoconf.lua
@@ -91,7 +91,7 @@ function _get_configs(package, configs)
elseif package:is_arch("arm.*") then
host = "arm"
end
- host = host .. "-" .. package:os()
+ host = host .. "-" .. package:targetos()
table.insert(configs, "--host=" .. host)
end
end