Skip to content

Commit

Permalink
Add self reference of modular libs.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Apr 5, 2024
1 parent 3d7141d commit 079be8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion add_path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand All @@ -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")))
{
Expand Down

0 comments on commit 079be8c

Please sign in to comment.