aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2024-08-28 17:29:35 -0300
committerHisham Muhammad <hisham@gobolinux.org>2024-08-28 17:29:35 -0300
commitd826373f886be97eb5f96d45ae828870211075e5 (patch)
tree5dcefa967b1c170957393d7ebcff662bf6f2101c /spec
parentc2c0272d973929fa1f74e4dcbc11402a5c5273e6 (diff)
downloadluarocks-fix-lua-link-windows.tar.gz
luarocks-fix-lua-link-windows.tar.bz2
luarocks-fix-lua-link-windows.zip
fix: when linking Lua explicitly (Windows), use dynamic librariesfix-lua-link-windows
The original code was inconsistent, since it demanded dynamic libraries for Cygwin but static libraries for other Windows compilers. However, that wouldn't work for the same reason as Cygwin: From the LuaJIT makefile: https://github.com/LuaJIT/LuaJIT/blob/ae4735f621d89d84758769b76432d2319dda9827/src/Makefile#L558-L563V "Mixed mode [static + dynamic] is not supported on Windows. And static mode doesn't work well. C modules cannot be loaded, because they bind to lua51.dll."
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions