2
0
mirror of https://github.com/boostorg/dll.git synced 2026-01-24 05:52:08 +00:00

Another attempt to achieve portable b2 behavior

This commit is contained in:
Antony Polukhin
2015-12-09 23:35:27 +03:00
parent 84b41822ad
commit fd70247ce6
13 changed files with 48 additions and 28 deletions

View File

@@ -39,7 +39,7 @@ int main(int argc, char* argv[]) {
std::vector<boost::filesystem::path> libraries;
libraries.reserve(argc - 1);
for (int i = 1; i < argc; ++i) {
if (std::string(argv[i]).find(".lib") == std::string::npos && std::string(argv[i]).find(".exp") == std::string::npos && std::string(argv[i]).find(".pdb") == std::string::npos) {
if (dll_test::is_shared_library(argv[i])) {
libraries.push_back(argv[i]);
}
}