0008-Ensure-we-use-the-modules-for-third-party-libraries.patch 610 Bytes
Newer Older
Noah Hilverling's avatar
Noah Hilverling committed
1
2
3
4
5
6
7
8
9
From: Chris Lamb <lamby@debian.org>
Date: Thu, 8 Nov 2018 18:05:58 +0100
Subject: Ensure we use the modules for third-party libraries.

---
 src/scripting.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/scripting.c b/src/scripting.c
10
index 260b367..e8078dc 100644
Noah Hilverling's avatar
Noah Hilverling committed
11
12
--- a/src/scripting.c
+++ b/src/scripting.c
13
@@ -850,6 +850,7 @@ void luaLoadLibraries(lua_State *lua) {
Noah Hilverling's avatar
Noah Hilverling committed
14
15
16
17
18
19
20
     luaLoadLib(lua, LUA_LOADLIBNAME, luaopen_package);
     luaLoadLib(lua, LUA_OSLIBNAME, luaopen_os);
 #endif
+#include "../debian/lua_libs_debian.c"
 }
 
 /* Remove a functions that we don't want to expose to the Redis scripting