From e596a4e6c3598d0045c330a595bd0a05b6c33bb7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 20 Oct 2010 18:17:52 +1100 Subject: waf: fixed expansion of direct_objects and direct_libs these do not need to be expanded in break_dependency_loops() --- buildtools/wafsamba/samba_deps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buildtools') diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py index 22d4efd6ad..c022fc7dbf 100644 --- a/buildtools/wafsamba/samba_deps.py +++ b/buildtools/wafsamba/samba_deps.py @@ -390,7 +390,7 @@ def build_direct_deps(bld, tgt_list): t.direct_objects = set() t.direct_libs = set() t.direct_syslibs = set() - deps = t.samba_deps_extended + deps = t.samba_deps_extended[:] if getattr(t, 'samba_use_global_deps', False): deps.extend(global_deps) for d in deps: @@ -632,7 +632,7 @@ def break_dependency_loops(bld, tgt_list): # add in the replacement dependencies for t in tgt_list: for loop in loops: - for attr in ['direct_objects', 'indirect_objects', 'direct_libs', 'indirect_libs']: + for attr in ['indirect_objects', 'indirect_libs']: objs = getattr(t, attr, set()) if loop in objs: diff = loops[loop].difference(objs) -- cgit