summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2021-07-23 17:13:10 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-27 17:29:05 +0000
commit0c1e060e7e87a32673e9a6b0311663aa4875544b (patch)
treec7518bbc743645565731751c274e627dcd59e451 /site_scons
parent1b8d8f798c353b2661e9063281ce3fe3c6882545 (diff)
downloadmongo-0c1e060e7e87a32673e9a6b0311663aa4875544b.tar.gz
SERVER-48291 Remove need for individual third_party shim source files
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/libdeps_next.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/site_scons/libdeps_next.py b/site_scons/libdeps_next.py
index 3a7e7a2bac2..ddf1bc93631 100644
--- a/site_scons/libdeps_next.py
+++ b/site_scons/libdeps_next.py
@@ -730,9 +730,7 @@ def _libdeps_visit(n, tsorted, marked, walking, debug=False):
_libdeps_visit_private(child, marked, walking, debug)
marked[n.target_node] = LibdepsVisitationMark.MARKED_PUBLIC
-
- if getattr(n.target_node.attributes, "needs_link", True):
- tsorted.append(n.target_node)
+ tsorted.append(n.target_node)
except DependencyCycleError as e:
if len(e.cycle_nodes) == 1 or e.cycle_nodes[0] != e.cycle_nodes[-1]: