diff options
author | Austin Steady <austin.steady@10gen.com> | 2016-06-16 16:20:53 -0400 |
---|---|---|
committer | Sam Kleinman <samk@10gen.com> | 2016-06-17 17:51:41 -0400 |
commit | 737d557b1729d8d6c2892832b75630f045787ec1 (patch) | |
tree | 13fbe4d3bcc876df7fa39ad0393ae5036acba9e2 /site_scons | |
parent | 5e6cd4a7157fcd8b2dc2c92acb96114a55184674 (diff) | |
download | mongo-737d557b1729d8d6c2892832b75630f045787ec1.tar.gz |
SERVER-24555: make compilation_db compatible with scons 2.4
Signed-off-by: Sam Kleinman <samk@10gen.com>
Diffstat (limited to 'site_scons')
-rw-r--r-- | site_scons/site_tools/compilation_db.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/site_scons/site_tools/compilation_db.py b/site_scons/site_tools/compilation_db.py index 283487cda17..a4c82eebd53 100644 --- a/site_scons/site_tools/compilation_db.py +++ b/site_scons/site_tools/compilation_db.py @@ -35,9 +35,10 @@ __COMPILATION_DB_ENTRIES=[] class __CompilationDbNode(SCons.Node.Node): def __init__(self): SCons.Node.Node.__init__(self) + self.Decider(changed_since_last_build_node) - def changed_since_last_build(self, target, prev_ni): - return True +def changed_since_last_build_node(node, target, prev_ni): + return True def makeEmitCompilationDbEntry(comstr): user_action = SCons.Action.Action(comstr) |