scons: add more LIBS for compiling with LLVM 2.9 on Windows
authorBrian Paul <brianp@vmware.com>
Thu, 25 Aug 2011 21:14:37 +0000 (15:14 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2011 14:05:35 +0000 (08:05 -0600)
These extra libs shouldn't hurt with LLVM 2.8 or older.

scons/llvm.py

index c8d2d372e4aff4c06689e44aba2dfb588c7f0a5c..57fe922d0ae65e3ed65b57ad7c52b8a39978b911 100644 (file)
@@ -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