Skip to content

Commit 0d0525a

Browse files
committed
lua: build-mingw.sh updated, fixes
1 parent 019a1fa commit 0d0525a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lua/build-mingw.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ mkdir -p "$script_dir/build"
2323
cd "$script_dir/build"
2424
tar xf "$script_dir/$lua_src"
2525

26-
cd "$script_dir/build/$lua_version"
26+
cd "$script_dir/build/lua-$lua_version"
2727
patch -p1 -i "$script_dir/build.patch"
2828
make \
2929
PLAT=mingw \
@@ -34,4 +34,4 @@ make \
3434
MYLDFLAGS="-Os -pie -static -flto -fuse-linker-plugin -ffat-lto-objects"
3535

3636
$compiler-strip --strip-unneeded src/lua.exe
37-
cp src/lua.exe ../../lua-windows-$arch
37+
cp src/lua.exe "$script_dir/lua-windows-$arch"

0 commit comments

Comments
 (0)