mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Improve build configuration options
This commit is contained in:
parent
16fc8b5fc2
commit
aef1332e42
7 changed files with 104 additions and 35 deletions
|
@ -878,7 +878,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
// Initialize debug streams
|
||||
#define DEBUGFILE "debug.txt"
|
||||
#ifdef RUN_IN_PLACE
|
||||
#if RUN_IN_PLACE
|
||||
std::string logfile = DEBUGFILE;
|
||||
#else
|
||||
std::string logfile = porting::path_user+DIR_DELIM+DEBUGFILE;
|
||||
|
@ -962,7 +962,7 @@ int main(int argc, char *argv[])
|
|||
// Legacy configuration file location
|
||||
filenames.push_back(porting::path_user +
|
||||
DIR_DELIM + ".." + DIR_DELIM + "minetest.conf");
|
||||
#ifdef RUN_IN_PLACE
|
||||
#if RUN_IN_PLACE
|
||||
// Try also from a lower level (to aid having the same configuration
|
||||
// for many RUN_IN_PLACE installs)
|
||||
filenames.push_back(porting::path_user +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue