diff options
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_deps.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py index 3e65be84b7..689bccadf6 100644 --- a/buildtools/wafsamba/samba_deps.py +++ b/buildtools/wafsamba/samba_deps.py @@ -547,9 +547,11 @@ def break_dependency_loops(bld, tgt_list): for loop in loops.copy(): t = bld.name_to_obj(loop, bld.env) if t.samba_type in ['SUBSYSTEM']: - loops[loop] = loops[loop].union(t.indirect_objects, t.direct_objects) + loops[loop] = loops[loop].union(t.indirect_objects) + loops[loop] = loops[loop].union(t.direct_objects) if t.samba_type in ['LIBRARY']: - loops[loop] = loops[loop].union(t.indirect_libs, t.direct_libs) + loops[loop] = loops[loop].union(t.indirect_libs) + loops[loop] = loops[loop].union(t.direct_libs) if loop in loops[loop]: loops[loop].remove(loop) |