From 410b736ab0f829e8754cf8fc949ab65e3aa02dfd Mon Sep 17 00:00:00 2001 From: Firew0lf Date: Sun, 4 Oct 2015 21:15:26 +0200 Subject: [PATCH] Fixed a bug in the path --- libs/lua-5.3.1/src/luaconf.h | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/libs/lua-5.3.1/src/luaconf.h b/libs/lua-5.3.1/src/luaconf.h index 9d075c6..4cc26f7 100644 --- a/libs/lua-5.3.1/src/luaconf.h +++ b/libs/lua-5.3.1/src/luaconf.h @@ -167,26 +167,7 @@ ** hierarchy or if you want to install your libraries in ** non-conventional directories. */ -#define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR -#if defined(_WIN32) /* { */ -/* -** 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_SHRDIR "!\\..\\share\\lua\\" LUA_VDIR "\\" -#define LUA_PATH_DEFAULT \ - LUA_LDIR"?.lua;" LUA_LDIR"?\\init.lua;" \ - LUA_CDIR"?.lua;" LUA_CDIR"?\\init.lua;" \ - LUA_SHRDIR"?.lua;" LUA_SHRDIR"?\\init.lua;" \ - ".\\?.lua;" ".\\?\\init.lua" -#define LUA_CPATH_DEFAULT \ - LUA_CDIR"?.dll;" \ - LUA_CDIR"..\\lib\\lua\\" LUA_VDIR "\\?.dll;" \ - LUA_CDIR"loadall.dll;" ".\\?.dll" - -#else /* }{ */ +#define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/" #define LUA_ROOT "sdmc:/" #define LUA_LDIR LUA_ROOT "3ds/ctruLua/libs/" @@ -194,13 +175,9 @@ #define LUA_PATH_DEFAULT \ LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ LUA_LDIR LUA_VDIR"?.lua;" LUA_LDIR LUA_VDIR"?/init.lua;" \ -/* LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \ - LUA_CDIR LUA_VDIR"?.lua;" LUA_CDIR LUA_VDIR"?/init.lua;" */ \ "./?.lua;" "./?/init.lua" #define LUA_CPATH_DEFAULT \ LUA_CDIR"?.so;" LUA_CDIR"loadall.so;" "./?.so" -#endif /* } */ - /* @@ LUA_DIRSEP is the directory separator (for submodules).