From d9e360bb95d4fced4974bb716f993c81626417cb Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 11 Jun 2024 17:15:19 +0200 Subject: bugfix: external lib linking --- Builder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Builder.cpp') 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> Builder::get_dependencies(co fs::path target{get_target(list)}; std::vector deps{get_objects(list)}; std::vector 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 -- cgit v1.2.3