Files
openwrt-packages/lang/luajit2/patches/010-lua-path.patch
Javier Marcet 382a089d08 luajit2: add OpenResty's mantained branch of luajit
Add OpenResty's mantained branch of luajit. Required for nginx lua
module to work correctly with their custom patches.

Signed-off-by: Javier Marcet <javier@marcet.info>
[ add commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-22 14:53:46 +02:00

14 lines
297 B
Diff

--- a/src/luaconf.h
+++ b/src/luaconf.h
@@ -35,8 +35,8 @@
#ifndef LUA_LMULTILIB
#define LUA_LMULTILIB "lib"
#endif
-#define LUA_LROOT "/usr/local"
-#define LUA_LUADIR "/lua/5.1/"
+#define LUA_LROOT "/usr"
+#define LUA_LUADIR "/lua/"
#define LUA_LJDIR "/luajit-2.1.0-beta3/"
#ifdef LUA_ROOT