From: Vsevolod Stakhov Date: Thu, 14 Feb 2019 11:07:06 +0000 (+0000) Subject: [Minor] Load dynamic library if needed X-Git-Tag: 1.9.0~154 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b53c6ab237de8c7a003126422c57f86e4bbbf171;p=rspamd.git [Minor] Load dynamic library if needed --- diff --git a/lualib/lua_ffi/init.lua b/lualib/lua_ffi/init.lua index d2cbd95aa..b0254bdd8 100644 --- a/lualib/lua_ffi/init.lua +++ b/lualib/lua_ffi/init.lua @@ -46,6 +46,7 @@ else end end +pcall(ffi.load, "rspamd-server", true) exports.common = require "lua_ffi/common" exports.dkim = require "lua_ffi/dkim"