2
0
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:
Vladimir Prus
2003-12-15 07:52:30 +00:00
parent 8646da0914
commit 418dae429a

View File

@@ -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=) ;
}
}
}
}