diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-04-12 10:16:54 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-04-12 12:31:14 +0200 |
commit | 4f73658544f988b1b495d1a84b7058fdace712ee (patch) | |
tree | 51d0610da7b3b6e242054d68a2ca5bfe37d0ffad /buildtools/wafsamba/samba_deps.py | |
parent | 2a727ef6e7bffcaad7438e288c952f6157e075de (diff) | |
download | samba-4f73658544f988b1b495d1a84b7058fdace712ee.tar.gz samba-4f73658544f988b1b495d1a84b7058fdace712ee.tar.bz2 samba-4f73658544f988b1b495d1a84b7058fdace712ee.zip |
wafsamba: don't add global dependencies to hostcc targets
metze
Diffstat (limited to 'buildtools/wafsamba/samba_deps.py')
-rw-r--r-- | buildtools/wafsamba/samba_deps.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py index 232ed34ae6..cca2febda9 100644 --- a/buildtools/wafsamba/samba_deps.py +++ b/buildtools/wafsamba/samba_deps.py @@ -323,7 +323,8 @@ def build_direct_deps(bld, tgt_list): t.direct_libs = set() t.direct_syslibs = set() deps = t.samba_deps_extended - deps.extend(global_deps) + if getattr(t, 'samba_use_global_deps', False): + deps.extend(global_deps) for d in deps: d = EXPAND_ALIAS(bld, d) if d == t.sname: continue |