summaryrefslogtreecommitdiff
path: root/xmake/modules/package/tools/meson.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-11-26 00:48:24 +0800
committerruki <[email protected]>2019-11-25 23:40:49 +0800
commiteaa013ce4cd12a18c8cc73b948f81dc64cd2d976 (patch)
tree95d2b90555ae6867597c08af41131f52e0e11e38 /xmake/modules/package/tools/meson.lua
parent2101b278bb3f1d15395110b25b63a8536ecffb94 (diff)
uses hash.uuid4
Diffstat (limited to 'xmake/modules/package/tools/meson.lua')
-rw-r--r--xmake/modules/package/tools/meson.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/meson.lua b/xmake/modules/package/tools/meson.lua
index dac331ac9..fad23bf28 100644
--- a/xmake/modules/package/tools/meson.lua
+++ b/xmake/modules/package/tools/meson.lua
@@ -24,7 +24,7 @@ import("core.project.config")
-- get build directory
function _get_buildir()
- _g.buildir = _g.buildir or ("build_" .. hash.uuid():split('%-')[1])
+ _g.buildir = _g.buildir or ("build_" .. hash.uuid4():split('%-')[1])
return _g.buildir
end