aboutsummaryrefslogtreecommitdiff
path: root/tools/system_libs.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-03-06 14:46:00 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-03-06 15:39:23 -0800
commitf60959da5665054b903c3612878e717cf1249e58 (patch)
treed71849580ca77e8a4803eebe084c8d36b37f340e /tools/system_libs.py
parent565db2670ed4edfa4c3c851d61a1c591c7ae8331 (diff)
only include necessary system libraries amongst each other based on explicit dependencies; fixes #2191
Diffstat (limited to 'tools/system_libs.py')
-rw-r--r--tools/system_libs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/system_libs.py b/tools/system_libs.py
index 92f13bdb..ee185a51 100644
--- a/tools/system_libs.py
+++ b/tools/system_libs.py
@@ -373,7 +373,6 @@ def calculate(temp_files, in_temp, stdout, stderr):
('libcxxabi', create_libcxxabi, apply_libcxxabi, libcxxabi_symbols, ['libc']),
('gl', create_gl, lambda x: True, gl_symbols, ['libc']),
('libc', create_libc, apply_libc, libc_symbols, [])]:
- force = force.union(deps)
force_this = force_all or name in force
if not force_this:
need = set()
@@ -394,5 +393,6 @@ def calculate(temp_files, in_temp, stdout, stderr):
logging.debug('including %s' % name)
libfile = shared.Cache.get(name, create)
ret.append(libfile)
+ force = force.union(deps)
return ret