diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-28 18:42:45 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-28 18:42:45 +0100 |
commit | 565c37fca091c01a296179722b2abc3a3420a94a (patch) | |
tree | 46c46eb3425e0d9a100417b03856eaa480d557d9 /src/lua | |
parent | caa85eb1ec3cae941795dea727e794625b9c8bf3 (diff) | |
download | rspamd-565c37fca091c01a296179722b2abc3a3420a94a.tar.gz rspamd-565c37fca091c01a296179722b2abc3a3420a94a.zip |
[Fix] Link lpeg to rspamd lua library
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c index ad77b0602..4c5051aeb 100644 --- a/src/lua/lua_common.c +++ b/src/lua/lua_common.c @@ -15,6 +15,7 @@ */ #include "lua_common.h" #include "lua/global_functions.lua.h" +#include "lptree.h" /* Lua module init function */ #define MODULE_INIT_FUNC "module_init" @@ -242,6 +243,7 @@ rspamd_lua_init () luaopen_fann (L); luaopen_sqlite3 (L); luaopen_cryptobox (L); + luaopen_lpeg (L); rspamd_lua_add_preload (L, "ucl", luaopen_ucl); |