ruki 5 年之前
父节点
当前提交
53d3088d75
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      packages/t/tbox/xmake.lua

+ 3 - 3
packages/t/tbox/xmake.lua

@@ -41,13 +41,13 @@ package("tbox")
     on_install(function (package)
     on_install(function (package)
         local configs = {demo = false}
         local configs = {demo = false}
         if package:config("micro") then
         if package:config("micro") then
-            config.micro = true
+            configs.micro = true
         end
         end
         if not package:config("float") then
         if not package:config("float") then
-            config["float"] = false
+            configs["float"] = false
         end
         end
         if package:config("force-utf8") then
         if package:config("force-utf8") then
-            config["force-utf8"] = true
+            configs["force-utf8"] = true
         end
         end
         for _, name in ipairs({"xml", "zip", "hash", "regex", "object", "charset", "database", "coroutine"}) do
         for _, name in ipairs({"xml", "zip", "hash", "regex", "object", "charset", "database", "coroutine"}) do
             if package:config(name) then
             if package:config(name) then