summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-17 18:26:28 +0800
committerruki <[email protected]>2024-08-17 18:26:28 +0800
commitd342e78c2f24434935eb371d0dd5bba5410dbf3f (patch)
treea5b212c7a2ed0e3f708639ad14e03054e572e891
parentc8e8e04d832288a0a7f4d5a90a89061f7951b0e0 (diff)
fix tools.meson
-rw-r--r--xmake/modules/package/tools/meson.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/meson.lua b/xmake/modules/package/tools/meson.lua
index a9ab53ba6..caa75c620 100644
--- a/xmake/modules/package/tools/meson.lua
+++ b/xmake/modules/package/tools/meson.lua
@@ -390,7 +390,7 @@ end
-- fix libname on windows
function _fix_libname_on_windows(package)
for _, lib in ipairs(os.files(path.join(package:installdir("lib"), "lib*.a"))) do
- os.mv(lib, lib:gsub("(.+)\\lib(.-)%.a", "%1\\%2.lib"))
+ os.mv(lib, (lib:gsub("(.+)\\lib(.-)%.a", "%1\\%2.lib")))
end
end