[Mesa-dev] [PATCH 1/2] scons: add more LIBS for compiling with LLVM 2.9 on Windows

Brian Paul brianp at vmware.com
Thu Aug 25 15:57:29 PDT 2011


These extra libs shouldn't hurt with LLVM 2.8 or older.
---
 scons/llvm.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/scons/llvm.py b/scons/llvm.py
index c8d2d37..57fe922 100644
--- a/scons/llvm.py
+++ b/scons/llvm.py
@@ -135,6 +135,8 @@ def generate(env):
         env.Append(LIBS = [
             'imagehlp',
             'psapi',
+            'shell32',
+            'advapi32'
         ])
         if env['msvc']:
             # Some of the LLVM C headers use the inline keyword without
-- 
1.7.3.4



More information about the mesa-dev mailing list