summaryrefslogtreecommitdiff
path: root/xmake/includes/check_features.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-10-10 00:01:01 +0800
committerruki <[email protected]>2021-10-10 00:01:01 +0800
commitff96f6c08fcf72b44226626e1d04be60e92ac37c (patch)
tree772bc2adb964e9488ea54c59da642c59710c69b4 /xmake/includes/check_features.lua
parent1af0820871a06217312fcee22b68e15954fc553a (diff)
fix some unpack
Diffstat (limited to 'xmake/includes/check_features.lua')
-rw-r--r--xmake/includes/check_features.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/includes/check_features.lua b/xmake/includes/check_features.lua
index 3e8fb47be..481d9b6fe 100644
--- a/xmake/includes/check_features.lua
+++ b/xmake/includes/check_features.lua
@@ -60,7 +60,7 @@ end
function configvar_check_features(definition, features, opt)
opt = opt or {}
local optname = "__" .. (opt.name or definition)
- local defname, defval = unpack(definition:split('='))
+ local defname, defval = table.unpack(definition:split('='))
save_scope()
option(optname)
add_features(features)