From 079be8c10e5684b9cb268bf3a48de5dd8c8dde3f Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 5 Apr 2024 09:11:51 -0500 Subject: [PATCH] Add self reference of modular libs. --- add_path.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/add_path.cpp b/add_path.cpp index 49dd050..3eac960 100644 --- a/add_path.cpp +++ b/add_path.cpp @@ -131,7 +131,7 @@ void bcp_implementation::add_file(const fs::path& p) if(is_jam_file(p) && *p.begin() == "libs" && (std::distance(p.begin(), p.end()) >= 3)) { // - // Modular libs top jamfile has references to all the user level + // Modular libs jamfile(s) have references to all the user level // dependent libraries to also include. // auto lib = *(++p.begin()); @@ -149,6 +149,7 @@ void bcp_implementation::add_file(const fs::path& p) else add_path(m_boost_path / "libs" / *i); ++i; } + add_path(m_boost_path / "libs" / lib); } else if(is_jam_file(p) && m_namespace_name.size() && ((std::distance(p.begin(), p.end()) < 3) || (*p.begin() != "tools") || (*++p.begin() != "build"))) {