summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-10-25 19:41:25 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-10-25 19:41:25 -0500
commit2eef48a92389772dfad8bd37da93464c5aa5da0c (patch)
treeb735b3e90a3a98a3b89d0c4dc49303a5d0366d4b
parent741e976a9a5bbb998dd183f68a042b8f0e30078f (diff)
downloadimage-luarocks-2eef48a92389772dfad8bd37da93464c5aa5da0c.tar.gz
image-luarocks-2eef48a92389772dfad8bd37da93464c5aa5da0c.tar.bz2
image-luarocks-2eef48a92389772dfad8bd37da93464c5aa5da0c.zip
Try setting some variables to make luarocks build dlls
-rwxr-xr-xinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/init b/init
index 982354a..2f3417f 100755
--- a/init
+++ b/init
@@ -21,6 +21,9 @@ rm -rf /root/image-mingw64
21luarocks config arch $arch 21luarocks config arch $arch
22luarocks config link_lua_explicitly true 22luarocks config link_lua_explicitly true
23luarocks config variables.LUA_INCDIR /root/$luaver/src 23luarocks config variables.LUA_INCDIR /root/$luaver/src
24luarocks config lib_extension dll
25luarocks config external_lib_extension dll
26luarocks 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
25luarocks config variables.LUA_LIBDIR /root 28luarocks 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