From 38702febf7077842158c376a4b088288c616f3c4 Mon Sep 17 00:00:00 2001 From: lethosor Date: Tue, 14 Mar 2017 00:24:05 -0400 Subject: [PATCH] Use LUA_(C)PATH_VAR instead of LUA_(C)PATH in luaconf.h This was apparently changed at some point around Lua 5.3, so a custom LUA_PATH environment variable could prevent DFHack from initializing. --- depends/lua/include/luaconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/depends/lua/include/luaconf.h b/depends/lua/include/luaconf.h index ce96b4747..051d2a944 100644 --- a/depends/lua/include/luaconf.h +++ b/depends/lua/include/luaconf.h @@ -200,8 +200,8 @@ LUA_CDIR"?.so;" "./?.so" #endif /* } */ -#define LUA_PATH "DFHACK_LUA_PATH" -#define LUA_CPATH "DFHACK_LUA_CPATH" +#define LUA_PATH_VAR "DFHACK_LUA_PATH" +#define LUA_CPATH_VAR "DFHACK_LUA_CPATH" /* @@ LUA_DIRSEP is the directory separator (for submodules).