summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-12-04 14:58:11 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-12-05 23:11:05 +0100
commitbef27a98900fcef17929587264e3859a0d5c7f05 (patch)
tree5c5b27d57d47749929f49b50c7f3c8a8ff3592b4 /buildtools
parent817552779d699f1242fea17dc8ae4283949036ed (diff)
downloadsamba-bef27a98900fcef17929587264e3859a0d5c7f05.tar.gz
samba-bef27a98900fcef17929587264e3859a0d5c7f05.tar.bz2
samba-bef27a98900fcef17929587264e3859a0d5c7f05.zip
wafsamba: Use final_libs list to determine if a target needs private libraries, rather than direct dependencies list.
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py
index 5e16a5d470..c388150f7a 100644
--- a/buildtools/wafsamba/samba_utils.py
+++ b/buildtools/wafsamba/samba_utils.py
@@ -65,7 +65,7 @@ def ADD_LD_LIBRARY_PATH(path):
def needs_private_lib(bld, target):
'''return True if a target links to a private library'''
- for lib in getattr(target, "uselib_local", []):
+ for lib in target.final_libs:
t = bld.name_to_obj(lib, bld.env)
if t and getattr(t, 'private_library', False):
return True