summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/autoconf.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-04-24 22:58:58 +0800
committerruki <[email protected]>2019-04-24 11:53:49 +0800
commit91470eed87a2def7f537a056145f86271a95224f (patch)
tree9966adcfd7e58064f824f40cc621a4b00d739e09 /xmake/modules/package/tools/autoconf.lua
parent2898840b2fee9a838ca84e1c0df129b00d81aa45 (diff)
add cpp and ranlib to cross plat
Diffstat (limited to 'xmake/modules/package/tools/autoconf.lua')
-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 42096eff1..bcaf4684a 100644
--- a/xmake/modules/package/tools/autoconf.lua
+++ b/xmake/modules/package/tools/autoconf.lua
@@ -101,7 +101,7 @@ function _enter_envs(package)
if package:is_plat("android") then
local gcc_toolchain = config.get("gcc_toolchain")
if not gcc_toolchain then
- local bindir = config.get("bindir")
+ local bindir = config.get("bin")
if bindir then
gcc_toolchain = path.directory(bindir)
end