<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Signed-off-by: Prodea Alexandru-Liviu</div><div>Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102318</div><div><br></div><div>1 new required library - LLVMBinaryFormat</div><div><br></div><div>---</div><div><br></div><div>diff --git a/scons/llvm.py b/scons/llvm.py<br>index 928fc97..eefb131 100644<br>--- a/scons/llvm.py<br>+++ b/scons/llvm.py<br>@@ -104,7 +104,27 @@ def generate(env):<br> ])<br> env.Prepend(LIBPATH = [os.path.join(llvm_dir, 'lib')])<br> # LIBS should match the output of `llvm-config --libs engine mcjit bitwriter x86asmprinter irreader`<br>- if llvm_version >= distutils.version.LooseVersion('4.0'):<br>+ if llvm_version >= distutils.version.LooseVersion('5.0'):<br>+ env.Prepend(LIBS = [<br>+ 'LLVMX86Disassembler', 'LLVMX86AsmParser',<br>+ 'LLVMX86CodeGen', 'LLVMSelectionDAG', 'LLVMAsmPrinter',<br>+ 'LLVMDebugInfoCodeView', 'LLVMCodeGen',<br>+ 'LLVMScalarOpts', 'LLVMInstCombine',<br>+ 'LLVMTransformUtils',<br>+ 'LLVMBitWriter', 'LLVMX86Desc',<br>+ 'LLVMMCDisassembler', 'LLVMX86Info',<br>+ 'LLVMX86AsmPrinter', 'LLVMX86Utils',<br>+ 'LLVMMCJIT', 'LLVMExecutionEngine', 'LLVMTarget',<br>+ 'LLVMAnalysis', 'LLVMProfileData',<br>+ 'LLVMRuntimeDyld', 'LLVMObject', 'LLVMMCParser',<br>+ 'LLVMBitReader', 'LLVMMC', 'LLVMCore',<br>+ 'LLVMSupport',<br>+ 'LLVMIRReader', 'LLVMAsmParser',<br>+ 'LLVMDemangle', 'LLVMGlobalISel', 'LLVMDebugInfoMSF',<br>+ 'LLVMBinaryFormat',<br>+ ])<br>+<br>+ elif llvm_version >= distutils.version.LooseVersion('4.0'):<br> env.Prepend(LIBS = [<br> 'LLVMX86Disassembler', 'LLVMX86AsmParser',<br> 'LLVMX86CodeGen', 'LLVMSelectionDAG', 'LLVMAsmPrinter',<br><br><br></div></div></body></html>