diff options
| author | ruki <[email protected]> | 2019-11-26 00:49:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-11-25 23:40:49 +0800 |
| commit | fb04b7f0277b1202b38808b10022f64960a6fcee (patch) | |
| tree | 9b4230aed268b47a8446398b1c806e661ebd204a | |
| parent | eaa013ce4cd12a18c8cc73b948f81dc64cd2d976 (diff) | |
fix some build errors
| -rw-r--r-- | core/src/tbox/makefile | 1 | ||||
| -rw-r--r-- | xmake/core/sandbox/modules/hash.lua | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/src/tbox/makefile b/core/src/tbox/makefile index 4789d12e9..5c91947d0 100644 --- a/core/src/tbox/makefile +++ b/core/src/tbox/makefile @@ -13,6 +13,7 @@ tbox_CONFIG = n # core files tbox_C_FILES += \ tbox/src/tbox/tbox \ + tbox/src/tbox/hash/md5 \ tbox/src/tbox/hash/bkdr \ tbox/src/tbox/hash/fnv32 \ tbox/src/tbox/hash/adler32 \ diff --git a/xmake/core/sandbox/modules/hash.lua b/xmake/core/sandbox/modules/hash.lua index a63b30998..4db755c96 100644 --- a/xmake/core/sandbox/modules/hash.lua +++ b/xmake/core/sandbox/modules/hash.lua @@ -25,7 +25,7 @@ local raise = require("sandbox/modules/raise") local sandbox_hash = sandbox_hash or {} -- make a new uuid -function sandbox_hash.uuid4(name) +function sandbox_hash.uuid(name) return sandbox_hash.uuid4(name) end |
