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 03:30:04 +0000 |
commit | 47ed9285087dc58cab303fe606f35ab7d0928b7d (patch) | |
tree | 4161780362b4dd39f732226613eeaeb25207b956 /SConstruct | |
parent | a6b9b75aed2649cfed320d6c593d1d3228f1293a (diff) | |
download | mongo-47ed9285087dc58cab303fe606f35ab7d0928b7d.tar.gz |
SERVER-38289 Teach objects builders how to build idl files.
(cherry picked from commit 298d4d6bbb9980b74bded06241067fe6771bef68)
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 42ae796b64e..c70dca76e88 100644 --- a/SConstruct +++ b/SConstruct @@ -1509,6 +1509,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"): def library(env, target, source, *args, **kwargs): |