util.dependencies: Avoid missing bitop false positive on Lua 5.4
authorKim Alvefur <zash@zash.se>
Sat, 09 Nov 2019 13:58:25 +0100
changeset 10410 a7903de619b0
parent 10409 e7f5735f19e1
child 10411 bd8fbee04a2f
util.dependencies: Avoid missing bitop false positive on Lua 5.4
util/dependencies.lua
--- a/util/dependencies.lua	Sat Nov 09 00:26:56 2019 +0100
+++ b/util/dependencies.lua	Sat Nov 09 13:58:25 2019 +0100
@@ -90,7 +90,7 @@
 			}, "SSL/TLS support will not be available");
 	end
 
-	local bit = _G.bit32 or softreq"bit";
+	local bit = softreq"util.bitcompat";
 
 	if not bit then
 		missingdep("lua-bitops", {