ruki 6 年之前
父节点
当前提交
e466df0255
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      packages/l/lua/xmake.lua

+ 3 - 0
packages/l/lua/xmake.lua

@@ -34,6 +34,9 @@ package("lua")
                 set_kind("binary")
                 add_files("src/lua.c")
                 add_deps("lualib")
+                if not is_plat("windows") then
+                    add_syslinks("dl")
+                end
         ]])
         import("package.tools.xmake").install(package)
     end)