Browse Source

Added support for single-thread boost

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
b94ecb2383
  1. 10
      configure
  2. 10
      qcm/libboost.qcm

10
configure vendored

@ -407,6 +407,16 @@ public: @@ -407,6 +407,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;
}

10
qcm/libboost.qcm

@ -22,6 +22,16 @@ public: @@ -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;
}

Loading…
Cancel
Save