mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
Make data and plugin directory configurable at compile time
e.g.: $ qmake PREFIX=/usr/local $ qmake LIB_DIR=/usr/lib64 A full recompile is necessary when changing the PREFIX!
This commit is contained in:
parent
6b7a6e2313
commit
d4a36ed38b
4 changed files with 8 additions and 9 deletions
|
@ -781,9 +781,9 @@ static bool checkAccount(std::string accountdir, AccountDetails &account,std::ma
|
|||
std::cerr << "getRetroshareDataDirectory() BSD: " << dataDirectory;
|
||||
|
||||
#else
|
||||
/* For Linux, we have a fixed standard data directory */
|
||||
dataDirectory = "/usr/share/RetroShare06";
|
||||
std::cerr << "getRetroshareDataDirectory() Linux: " << dataDirectory;
|
||||
/* For Linux, the data directory is set in libretroshare.pro */
|
||||
dataDirectory = DATA_DIR;
|
||||
std::cerr << "getRetroshareDataDirectory() Linux: " << dataDirectory << std::endl;
|
||||
|
||||
#endif
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue