Skip to content

Commit d97dbd4

Browse files
committed
fix(windows): fix lib name on windows
1 parent fc656b0 commit d97dbd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/luarocks/build/rust-mlua.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function mlua.run(rockspec, no_install)
8080

8181
local rustlib = "lib" .. rustlib_name .. "." .. cfg.external_lib_extension
8282
if cfg.is_platform("windows") then
83-
rustlib = mod .. "." .. cfg.external_lib_extension
83+
rustlib = rustlib_name .. "." .. cfg.external_lib_extension
8484
end
8585

8686
local src = dir.path(target_path, "release", rustlib)

0 commit comments

Comments
 (0)