--- lua-5.3.3/src/luaconf.h.orig 2016-05-01 16:06:09.000000000 -0400 +++ lua-5.3.3/src/luaconf.h 2016-10-06 08:03:00.436714600 -0400 @@ -173,8 +173,9 @@ ** In Windows, any exclamation mark ('!') in the path is replaced by the ** path of the directory of the executable file of the current process. */ -#define LUA_LDIR "!\\lua\\" -#define LUA_CDIR "!\\" +#define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "\\" +#define LUA_LDIR "!\\..\\share\\lua\\" LUA_VDIR +#define LUA_CDIR "!\\..\\lib\\lua\\" LUA_VDIR #define LUA_SHRDIR "!\\..\\share\\lua\\" LUA_VDIR "\\" #define LUA_PATH_DEFAULT \ LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \