1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/docker/win64-static/build_lua.sh

9 lines
388 B
Bash
Raw Normal View History

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="x86_64-w64-mingw32-gcc" AR="x86_64-w64-mingw32-ar rcu" RANLIB="x86_64-w64-mingw32-ranlib" INSTALL_TOP=$HOME -j $(nproc)
make install CC="x86_64-w64-mingw32-gcc" AR="x86_64-w64-mingw32-ar rcu" RANLIB="x86_64-w64-mingw32-ranlib" INSTALL_TOP=$HOME