use new ffi.loadlib helper (#12545)

To load our native libraries.
This commit is contained in:
Benoit Pierre
2024-09-26 18:36:09 +02:00
committed by GitHub
parent 88aea09f73
commit a1edbbf0c4
11 changed files with 19 additions and 39 deletions

View File

@@ -3,7 +3,7 @@ local Event = require("ui/event")
local logger = require("logger")
local _ = require("ffi/zeromq_h")
local czmq = ffi.load("libs/libczmq.so.4")
local czmq = ffi.loadlib("czmq", "4")
local MessageQueue = {}