diff options
Diffstat (limited to 'scons')
-rw-r--r-- | scons/llvm.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scons/llvm.py b/scons/llvm.py index e587fddfc63..19773eaa999 100644 --- a/scons/llvm.py +++ b/scons/llvm.py @@ -265,6 +265,9 @@ def generate(env): else: components = ['engine', 'mcjit', 'bitwriter', 'mcdisassembler', 'irreader'] + if llvm_version >= distutils.version.LooseVersion('8.0'): + components.append('coroutines') + env.ParseConfig('%s --libs ' % llvm_config + ' '.join(components)) env.ParseConfig('%s --ldflags' % llvm_config) if llvm_version >= distutils.version.LooseVersion('3.5'): |