summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorGabriel Russell <gabriel.russell@mongodb.com>2017-01-31 21:42:31 +0000
committerGabriel Russell <gabriel.russell@mongodb.com>2017-02-01 16:00:23 -0500
commit29ee4e817e4d8131892a22b7de62d64e08034ca6 (patch)
tree88c07599011e935d80a301bb955b3de85c7590ee /site_scons
parente3a32afe3be3646adcb34a205c0c21bf09f4d6e9 (diff)
downloadmongo-29ee4e817e4d8131892a22b7de62d64e08034ca6.tar.gz
SERVER-14605 Make SYSLIBDEPS dependency order stable across SCons invocations
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/libdeps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/site_scons/libdeps.py b/site_scons/libdeps.py
index 78d39487780..c20eb881d0a 100644
--- a/site_scons/libdeps.py
+++ b/site_scons/libdeps.py
@@ -126,7 +126,7 @@ def __get_syslibdeps(node):
cached_var_name = syslibdeps_env_var + '_cached'
if not hasattr(node.attributes, cached_var_name):
syslibdeps = node.get_env().Flatten(node.get_env().get(syslibdeps_env_var, []))
- for lib in __get_libdeps(node):
+ for lib in sorted_by_str(__get_libdeps(node)):
for syslib in node.get_env().Flatten(lib.get_env().get(syslibdeps_env_var, [])):
if syslib:
if type(syslib) in (str, unicode) and syslib.startswith(missing_syslibdep):