diff options
author | Daniel Moody <daniel.moody@mongodb.com> | 2020-10-21 18:03:41 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-22 00:55:19 +0000 |
commit | 298d4d6bbb9980b74bded06241067fe6771bef68 (patch) | |
tree | cb2d8dc47e9e2b1d1a3966575d2357d810006ec9 /SConstruct | |
parent | 54037fb0d168ff8a5188f100c94e36137861a1d9 (diff) | |
download | mongo-298d4d6bbb9980b74bded06241067fe6771bef68.tar.gz |
SERVER-38289 Teach objects builders how to build idl files.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
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': |