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.
develop
Alexander Gavrilov 2014-03-31 13:51:54 +04:00
parent a70fbf41d4
commit 7ea8e25cd3
1 changed files with 2 additions and 0 deletions

@ -106,6 +106,8 @@
LUA_CDIR"?.so;" "./?.so" LUA_CDIR"?.so;" "./?.so"
#endif /* } */ #endif /* } */
#define LUA_PATH "DFHACK_LUA_PATH"
#define LUA_CPATH "DFHACK_LUA_CPATH"
/* /*
@@ LUA_DIRSEP is the directory separator (for submodules). @@ LUA_DIRSEP is the directory separator (for submodules).