diff options
Diffstat (limited to 'Builder.cpp')
-rw-r--r-- | Builder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Builder.cpp b/Builder.cpp index 6fd4f3c..69ecf48 100644 --- a/Builder.cpp +++ b/Builder.cpp @@ -302,7 +302,7 @@ std::unordered_map<fs::path, std::vector<fs::path>> Builder::get_dependencies(co fs::path target{get_target(list)}; std::vector<fs::path> deps{get_objects(list)}; std::vector<fs::path> link_libs{link_libs_of(target)}; - std::copy(link_libs.begin(), link_libs.end(), std::back_inserter(deps)); + std::copy_if(link_libs.begin(), link_libs.end(), std::back_inserter(deps), [](const fs::path& p){ return !is_external_lib(p);}); dependencies.emplace(target, deps); // add dynamic lib links |