diff options
-rwxr-xr-x | init | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | rc-service networking start | 3 | rc-service networking start |
4 | 4 | ||
5 | apk update | ||
5 | apk add luarocks$maj.$min zip upx | 6 | apk add luarocks$maj.$min zip upx |
6 | ln -s /usr/bin/luarocks-$maj.$min /usr/local/bin/luarocks | 7 | ln -s /usr/bin/luarocks-$maj.$min /usr/local/bin/luarocks |
7 | # We can create the link, even if the file doesn't exist yet. When gcc links | 8 | # We can create the link, even if the file doesn't exist yet. When gcc links |
@@ -29,4 +30,5 @@ luarocks config variables.LUA_LIBDIR /root | |||
29 | # Luarocks checks for liblua.so and liblua.a but gcc looks for liblua.dll | 30 | # Luarocks checks for liblua.so and liblua.a but gcc looks for liblua.dll |
30 | # Can't use luarocks config because it sets it as a string | 31 | # Can't use luarocks config because it sets it as a string |
31 | echo "variables.LUA_LIBDIR_OK = true" >> "$(luarocks config config_files.nearest)" | 32 | echo "variables.LUA_LIBDIR_OK = true" >> "$(luarocks config config_files.nearest)" |
33 | echo "external_deps_dirs = {'/usr/x86_64-w64-mingw32/lib'}" >> "$(luarocks config config_files.nearest)" | ||
32 | 34 | ||