summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-10-11 00:56:19 +0800
committerruki <[email protected]>2024-10-11 00:56:19 +0800
commite0c0cddf7cc74bfbb2f948651be251ce7d4f6b57 (patch)
tree7716e34bcbf6fba33851d9a07becaba3aaf05d0a /xmake/core/package/package.lua
parentd023f3501a95bcd2c7475b578bed7585d8ed60d3 (diff)
replace some hash case
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 0b1b9879e..5d8d6b111 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -1701,7 +1701,7 @@ function _instance:buildhash()
table.sort(toolchains)
str = str .. "_" .. table.concat(toolchains, "_")
end
- return hash.uuid4(str):gsub('-', ''):lower()
+ return hash.strhash128(str)
end
local function _get_installdir(...)
local name = self:name():lower():gsub("::", "_")