mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Eliminate dependency cycle in some cases.
[SVN r21262]
This commit is contained in:
@@ -645,7 +645,14 @@ class linking-generator : generator
|
||||
{
|
||||
for local t in $(result)
|
||||
{
|
||||
$(t).depends $(libs:G=) ;
|
||||
# The 'if' statement handles the case where
|
||||
# one of the targets created by <library> is not
|
||||
# consumed and is part of result. DLLs on windows
|
||||
# are an example.
|
||||
if $(libs:G=) != $(t)
|
||||
{
|
||||
$(t).depends $(libs:G=) ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user