diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-12-04 15:36:27 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-12-05 23:11:05 +0100 |
commit | 41921d66825f9e09168a53b38afa949c684c552b (patch) | |
tree | 4bdf6d37831fe7c3e885032c9c050d7672942e53 /buildtools/wafsamba | |
parent | f9091d6fa048d110666fa04fcc9b70725314f111 (diff) | |
download | samba-41921d66825f9e09168a53b38afa949c684c552b.tar.gz samba-41921d66825f9e09168a53b38afa949c684c552b.tar.bz2 samba-41921d66825f9e09168a53b38afa949c684c552b.zip |
wafsamba: Cope with not everything having a final_libs attribute.
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r-- | buildtools/wafsamba/samba_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py index c388150f7a..71cfbc5b60 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 target.final_libs: + for lib in getattr(target, "final_libs", []): t = bld.name_to_obj(lib, bld.env) if t and getattr(t, 'private_library', False): return True |