git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8175527
)
wafsamba: Use final_libs list to determine if a target needs private libraries, rathe...
author
Jelmer Vernooij
<jelmer@samba.org>
Sun, 4 Dec 2011 13:58:11 +0000
(14:58 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Mon, 5 Dec 2011 22:11:05 +0000
(23:11 +0100)
buildtools/wafsamba/samba_utils.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_utils.py
b/buildtools/wafsamba/samba_utils.py
index 5e16a5d470b6c9566b38c7c8db966ef07ddef7b8..c388150f7a8e6581606bf5b91b3eff0932966166 100644
(file)
--- 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