diff options
| author | ruki <[email protected]> | 2021-10-10 00:01:01 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-10-10 00:01:01 +0800 |
| commit | ff96f6c08fcf72b44226626e1d04be60e92ac37c (patch) | |
| tree | 772bc2adb964e9488ea54c59da642c59710c69b4 /xmake/includes/check_cflags.lua | |
| parent | 1af0820871a06217312fcee22b68e15954fc553a (diff) | |
fix some unpack
Diffstat (limited to 'xmake/includes/check_cflags.lua')
| -rw-r--r-- | xmake/includes/check_cflags.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/includes/check_cflags.lua b/xmake/includes/check_cflags.lua index ef3f7866b..63354dfac 100644 --- a/xmake/includes/check_cflags.lua +++ b/xmake/includes/check_cflags.lua @@ -55,7 +55,7 @@ end function configvar_check_cflags(definition, flags, 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) if opt.default == nil then |
