metadata
Wenzel Jakob 2013-04-02 13:32:08 -04:00
parent c6c92a7d98
commit e02220e782
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ FileResolver::FileResolver() {
if (info.dli_fname) {
/* Try to detect a few default setups */
if (boost::starts_with(info.dli_fname, "/usr/lib") ||
boost::starts_with(info.dli_name, "/lib")) {
boost::starts_with(info.dli_fname, "/lib")) {
basePath = fs::path("/usr/share/mitsuba");
} else if (boost::starts_with(info.dli_fname, "/usr/local/lib")) {
basePath = fs::path("/usr/local/share/mitsuba");