BUGFIX: Added support for single-thread boost

This commit is contained in:
Christophe Dumez
2010-04-09 18:51:32 +00:00
parent 3ac65a477c
commit 7953809024
4 changed files with 25 additions and 0 deletions

View File

@@ -22,6 +22,16 @@ public:
name = result.first().mid(3);
// Remove .so
name.chop(3);
} else {
// Fall back to non -mt boost lib
filters.clear();
filters << "libboost_"+lib+"*.so";
result = libDir.entryList(filters, QDir::Files);
if(!result.empty()) {
name = result.first().mid(3);
// Remove .so
name.chop(3);
}
}
return name;
}