diff options
author | Andy Schwerin <schwerin@10gen.com> | 2012-01-17 17:01:15 -0800 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2012-01-17 17:01:15 -0800 |
commit | f6fc6431bf0a49cef4d0bb019fa61f7e137852bc (patch) | |
tree | 5ecfee2706a184d79fa5bf4c571e49047c25d0d8 | |
parent | 30668e1c79cf6e8dac45a61b64694c045e1a59f5 (diff) | |
download | mongo-f6fc6431bf0a49cef4d0bb019fa61f7e137852bc.tar.gz |
Fix build break for old versions of SCons.
Newer versions of SCons are more consistent about making lists out of TARGET and
SOURCE fields than older (1.2.0 and older) versions. This patch bandaids that
problem, which was exposed by the libdeps module.
-rw-r--r-- | site_scons/libdeps.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/site_scons/libdeps.py b/site_scons/libdeps.py index 24b857c16e8..f27f56341aa 100644 --- a/site_scons/libdeps.py +++ b/site_scons/libdeps.py @@ -129,6 +129,7 @@ def get_libdeps(source, target, env, for_signature): if for_signature: return [] + target = env.Flatten([target]) return list(__get_libdeps(target[0], 'LIBDEPS')) def get_syslibdeps(source, target, env, for_signature): |