diff --git a/packages/f/ffmpeg/xmake.lua b/packages/f/ffmpeg/xmake.lua index eb993774d..0e5b8781e 100644 --- a/packages/f/ffmpeg/xmake.lua +++ b/packages/f/ffmpeg/xmake.lua @@ -256,7 +256,7 @@ package("ffmpeg") else -- rename files from libxx.a to xx.lib for _, libfile in ipairs(os.files(package:installdir("lib", "*.a"))) do - os.vmv(libfile, libfile:gsub("^(.+[\\/])lib(.+)%.a$", "%1%2.lib")) + os.vmv(libfile, (libfile:gsub("^(.+[\\/])lib(.+)%.a$", "%1%2.lib"))) end end elseif package:is_plat("android") then