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:
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user