1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/docker/win32-static/build_lua.sh
2023-11-10 17:49:17 +01:00

9 lines
376 B
Bash

cd
wget https://www.lua.org/ftp/lua-5.4.6.tar.gz
rm -rf lua-5.4.6
tar -xf lua-5.4.6.tar.gz
cd lua-5.4.6
patch -p1 < ../lua.diff
make mingw CC="i686-w64-mingw32-gcc" AR="i686-w64-mingw32-ar rcu" RANLIB="i686-w64-mingw32-ranlib" INSTALL_TOP=$HOME -j $(nproc)
make install CC="i686-w64-mingw32-gcc" AR="i686-w64-mingw32-ar rcu" RANLIB="i686-w64-mingw32-ranlib" INSTALL_TOP=$HOME