Skip to content

Commit

Permalink
luajit: Copy Windows library to lib as well
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed Aug 27, 2024
1 parent ade3f21 commit 9a6d2fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const processCwd = () => {
async function finish_luajit_install(src, dst, luajit) {
if (isWindows()) {
await fsp.copyFile(pathJoin(src, "lua51.dll"), pathJoin(dst, "bin", "lua51.dll"))
await fsp.copyFile(pathJoin(src, "lua51.dll"), pathJoin(dst, "lib", "lua51.dll"))

await exec.exec(`ln -s ${luajit} lua.exe`, undefined, {
cwd: pathJoin(dst, "bin")
Expand Down

0 comments on commit 9a6d2fe

Please sign in to comment.