1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-02 01:44:26 +00:00

Added support for single-thread boost

This commit is contained in:
Christophe Dumez 2010-04-09 18:45:33 +00:00
parent c00d83dee9
commit b94ecb2383
2 changed files with 20 additions and 0 deletions

10
configure vendored
View File

@ -407,6 +407,16 @@ public:
name = result.first().mid(3); name = result.first().mid(3);
// Remove .so // Remove .so
name.chop(3); 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; return name;
} }

View File

@ -22,6 +22,16 @@ public:
name = result.first().mid(3); name = result.first().mid(3);
// Remove .so // Remove .so
name.chop(3); 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; return name;
} }