summaryrefslogtreecommitdiff
path: root/SConstruct
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 /SConstruct
parent1b8d8f798c353b2661e9063281ce3fe3c6882545 (diff)
downloadmongo-0c1e060e7e87a32673e9a6b0311663aa4875544b.tar.gz
SERVER-48291 Remove need for individual third_party shim source files
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct18
1 files changed, 0 insertions, 18 deletions
diff --git a/SConstruct b/SConstruct
index 9ebf301cf3b..f5b908fbc62 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1264,24 +1264,6 @@ env.AddMethod(mongo_platform.env_os_is_wrapper, 'TargetOSIs')
env.AddMethod(mongo_platform.env_get_os_name_wrapper, 'GetTargetOSName')
-def shim_library(env, name, needs_link=False, *args, **kwargs):
- nodes = env.Library(
- target=f"shim_{name}" if name else name,
- source=[
- f"shim_{name}.cpp" if name else name,
- ],
- *args,
- **kwargs
- )
-
- for n in nodes:
- setattr(n.attributes, "needs_link", needs_link)
-
- return nodes
-
-env.AddMethod(shim_library, 'ShimLibrary')
-
-
def conf_error(env, msg, *args):
print(msg.format(*args))
print("See {0} for details".format(env.File('$CONFIGURELOG').abspath))