packages/lang/luajit2/patches/010-lua-path.patch

14 lines
283 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/"
#ifdef LUA_ROOT
#define LUA_JROOT LUA_ROOT