From 824b43fabb20842e645849653250cc64d77025ac Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 28 Mar 2019 22:45:32 +0800 Subject: improve find_program --- xmake/core/sandbox/modules/import/lib/detect/find_program.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1