diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-10-25 19:41:25 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-25 19:41:25 -0500 |
commit | 2eef48a92389772dfad8bd37da93464c5aa5da0c (patch) | |
tree | b735b3e90a3a98a3b89d0c4dc49303a5d0366d4b | |
parent | 741e976a9a5bbb998dd183f68a042b8f0e30078f (diff) | |
download | image-luarocks-2eef48a92389772dfad8bd37da93464c5aa5da0c.tar.gz image-luarocks-2eef48a92389772dfad8bd37da93464c5aa5da0c.tar.bz2 image-luarocks-2eef48a92389772dfad8bd37da93464c5aa5da0c.zip |
Try setting some variables to make luarocks build dlls
-rwxr-xr-x | init | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,9 @@ rm -rf /root/image-mingw64 | |||
21 | luarocks config arch $arch | 21 | luarocks config arch $arch |
22 | luarocks config link_lua_explicitly true | 22 | luarocks config link_lua_explicitly true |
23 | luarocks config variables.LUA_INCDIR /root/$luaver/src | 23 | luarocks config variables.LUA_INCDIR /root/$luaver/src |
24 | luarocks config lib_extension dll | ||
25 | luarocks config external_lib_extension dll | ||
26 | luarocks config variables.LIB_EXTENSION dll | ||
24 | # Downstream is responsible for selecting the lua51.dll, whatever it's compiled for | 27 | # Downstream is responsible for selecting the lua51.dll, whatever it's compiled for |
25 | luarocks config variables.LUA_LIBDIR /root | 28 | luarocks config variables.LUA_LIBDIR /root |
26 | # Luarocks checks for liblua.so and liblua.a but gcc looks for liblua.dll | 29 | # Luarocks checks for liblua.so and liblua.a but gcc looks for liblua.dll |