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

Better error handling, more fair examples, better b2 workarounds, docs update, fixes for Android

This commit is contained in:
Antony Polukhin
2015-12-14 21:19:09 +03:00
parent ac7cd9c875
commit a4dbd85c31
21 changed files with 174 additions and 100 deletions

View File

@@ -5,8 +5,8 @@
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#include "../shared_lib_path.hpp"
#include <vector>
#include "../b2_workarounds.hpp"
//[callplugcpp_tutorial7
#include <boost/dll/shared_library.hpp>
@@ -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 (dll_test::is_shared_library(argv[i])) {
if (b2_workarounds::is_shared_library(argv[i])) {
libraries.push_back(argv[i]);
}
}