Meson: Add llvm>=9 modules
Fixes build with MinGW, with shared LLVM and lto /tmp/opengl32.dll.BxiIYm.ltrans59.ltrans.o:<artificial>:(.text+0x1674): undefined reference to `LLVMAddInstructionCombiningPass' See also scons/llvm.py Acked-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:

committed by
Eric Engestrom

parent
02d63ee5a4
commit
95fdde5a60
@@ -1356,7 +1356,7 @@ if dep_libdrm.found()
|
||||
endif
|
||||
endif
|
||||
|
||||
llvm_modules = ['bitwriter', 'engine', 'mcdisassembler', 'mcjit']
|
||||
llvm_modules = ['bitwriter', 'engine', 'mcdisassembler', 'mcjit', 'core', 'executionengine', 'scalaropts', 'transformutils', 'instcombine']
|
||||
llvm_optional_modules = ['coroutines']
|
||||
if with_amd_vk or with_gallium_radeonsi or with_gallium_r600
|
||||
llvm_modules += ['amdgpu', 'native', 'bitreader', 'ipo']
|
||||
|
Reference in New Issue
Block a user