mirror of
https://github.com/boostorg/dll.git
synced 2026-01-24 05:52:08 +00:00
Ugly workarounds for Windows+b2
This commit is contained in:
@@ -39,7 +39,9 @@ int main(int argc, char* argv[]) {
|
||||
std::vector<boost::filesystem::path> libraries;
|
||||
libraries.reserve(argc - 1);
|
||||
for (int i = 1; i < argc; ++i) {
|
||||
libraries.push_back(argv[i]);
|
||||
if (std::string(argv[i]).find(".lib") == std::string::npos) {
|
||||
libraries.push_back(argv[i]);
|
||||
}
|
||||
}
|
||||
|
||||
load_and_execute(&libraries[0], libraries.size());
|
||||
|
||||
Reference in New Issue
Block a user