From 4f9e055d10265afed775c7ebd554f0ce29d8bd28 Mon Sep 17 00:00:00 2001 From: taynpg Date: Fri, 14 Feb 2025 22:37:51 +0800 Subject: [PATCH] =?UTF-8?q?add=EF=BC=9Alua=E8=84=9A=E6=9C=AC=E8=AE=BE?= =?UTF-8?q?=E7=BD=AElua=5Ffs=E8=BE=93=E5=87=BA=E5=90=8D=E7=A7=B0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fs/xmake.lua | 3 +++ lua/xmake.lua | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/xmake.lua b/fs/xmake.lua index a8482d8..557dc7e 100644 --- a/fs/xmake.lua +++ b/fs/xmake.lua @@ -16,6 +16,9 @@ target("lua_fs") set_kind("shared") add_files("*.cxx") add_deps("lua") + if is_plat("mingw") or is_plat("windows") then + set_filename("lua_fs.dll") + end option("boost") set_default(false) set_showmenu(true) diff --git a/lua/xmake.lua b/lua/xmake.lua index ab59ece..659edf7 100644 --- a/lua/xmake.lua +++ b/lua/xmake.lua @@ -13,8 +13,6 @@ target("lua") if is_plat("windows") then add_cflags("/wd4530") add_defines("LUA_BUILD_AS_DLL") - -- 在Windows上,如果有额外的链接库,可以在这里添加 - -- add_links("some_library") elseif is_plat("linux") then add_defines("LUA_USE_LINUX") add_links("m", "dl", "E")