summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2020-10-21 18:03:41 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-10-22 00:55:19 +0000
commit298d4d6bbb9980b74bded06241067fe6771bef68 (patch)
treecb2d8dc47e9e2b1d1a3966575d2357d810006ec9 /SConstruct
parent54037fb0d168ff8a5188f100c94e36137861a1d9 (diff)
downloadmongo-298d4d6bbb9980b74bded06241067fe6771bef68.tar.gz
SERVER-38289 Teach objects builders how to build idl files.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index cf4dc21742d..14cc7e23f0b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1476,6 +1476,10 @@ env['BUILDERS']['SharedArchive'] = SCons.Builder.Builder(
src_suffix=env['BUILDERS']['SharedLibrary'].src_suffix,
)
+# Teach builders how to build idl files
+for builder in ['SharedObject', 'StaticObject']:
+ env['BUILDERS'][builder].add_src_builder("Idlc")
+
if link_model.startswith("dynamic"):
if link_model == "dynamic" and get_option('experimental-visibility-support') == 'on':