From 7ea8e25cd38bd2f5a74680e6b8fc62adf59976f2 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Mon, 31 Mar 2014 13:51:54 +0400 Subject: [PATCH] Rename the LUA_PATH/LUA_CPATH environment variables to avoid conflicts. If a user has a standalone lua installation with these variables configured, it should not confuse dfhack into looking for things in wrong places. --- depends/lua/include/luaconf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/depends/lua/include/luaconf.h b/depends/lua/include/luaconf.h index 699f0b94d..af09ffb94 100644 --- a/depends/lua/include/luaconf.h +++ b/depends/lua/include/luaconf.h @@ -106,6 +106,8 @@ LUA_CDIR"?.so;" "./?.so" #endif /* } */ +#define LUA_PATH "DFHACK_LUA_PATH" +#define LUA_CPATH "DFHACK_LUA_CPATH" /* @@ LUA_DIRSEP is the directory separator (for submodules).