summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/sandbox/modules/import/lib/detect/find_program.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/lib/detect/find_program.lua b/xmake/core/sandbox/modules/import/lib/detect/find_program.lua
index 1cb1c1a81..7a7ff9548 100644
--- a/xmake/core/sandbox/modules/import/lib/detect/find_program.lua
+++ b/xmake/core/sandbox/modules/import/lib/detect/find_program.lua
@@ -248,7 +248,7 @@ function sandbox_lib_detect_find_program.main(name, opt)
opt = opt or {}
-- init cachekey
- local cachekey = "find_program"
+ local cachekey = "find_program_" .. os.host() .. "_" .. os.arch()
if opt.cachekey then
cachekey = cachekey .. "_" .. opt.cachekey
end