Comparison

util/dependencies.lua @ 10406:a7903de619b0

util.dependencies: Avoid missing bitop false positive on Lua 5.4
author Kim Alvefur <zash@zash.se>
date Sat, 09 Nov 2019 13:58:25 +0100
parent 10049:c523642ea293
child 10535:29c1a3bf1d29
comparison
equal deleted inserted replaced
10405:e7f5735f19e1 10406:a7903de619b0
88 ["luarocks"] = "luarocks install luasec"; 88 ["luarocks"] = "luarocks install luasec";
89 ["Source"] = "https://github.com/brunoos/luasec"; 89 ["Source"] = "https://github.com/brunoos/luasec";
90 }, "SSL/TLS support will not be available"); 90 }, "SSL/TLS support will not be available");
91 end 91 end
92 92
93 local bit = _G.bit32 or softreq"bit"; 93 local bit = softreq"util.bitcompat";
94 94
95 if not bit then 95 if not bit then
96 missingdep("lua-bitops", { 96 missingdep("lua-bitops", {
97 ["Debian/Ubuntu"] = "sudo apt-get install lua-bitop"; 97 ["Debian/Ubuntu"] = "sudo apt-get install lua-bitop";
98 ["luarocks"] = "luarocks install luabitop"; 98 ["luarocks"] = "luarocks install luabitop";