diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-30 22:39:18 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:20 +1000 |
commit | 3154733c33ce51c61a023fe27148c3ab154786fb (patch) | |
tree | 9c44abde7f47633e0ee57ca75fa2cad26268aa2f /buildtools | |
parent | d39b44c98986ab4b15c81350b4e4ee0ee2d60601 (diff) | |
download | samba-3154733c33ce51c61a023fe27148c3ab154786fb.tar.gz samba-3154733c33ce51c61a023fe27148c3ab154786fb.tar.bz2 samba-3154733c33ce51c61a023fe27148c3ab154786fb.zip |
build: add python library object reduction
This reduces the install size of s4 from 393M down to 132M on my
system. We had a lot of duplicate code in our python modules!
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_deps.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py index f9e69b6ca6..ef0bc793ae 100644 --- a/buildtools/wafsamba/samba_deps.py +++ b/buildtools/wafsamba/samba_deps.py @@ -603,7 +603,7 @@ def calculate_final_deps(bld, tgt_list, loops): dependency_loop(loops, t, t2.sname) t2.final_libs.remove(t.sname) - for type in ['BINARY']: + for type in ['BINARY', 'PYTHON']: for t in tgt_list: if t.samba_type != type: continue # if we will indirectly link to a target then we don't need it |