diff options
| author | ruki <[email protected]> | 2019-03-28 22:45:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-03-28 10:33:14 +0800 |
| commit | 824b43fabb20842e645849653250cc64d77025ac (patch) | |
| tree | d58bce57da9f5c1da2b174832c8ebd6e7a528e07 | |
| parent | bb88e1beba555134a652c050f885f5e7ecf5c4a6 (diff) | |
improve find_program
| -rw-r--r-- | xmake/core/sandbox/modules/import/lib/detect/find_program.lua | 2 |
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 |
