fix llvm linkage

This commit is contained in:
Dave Airlie 2011-11-14 17:01:40 +00:00
parent 3c65592ff9
commit ee18eca1e7

View File

@ -6,7 +6,7 @@ diff -up mesa-20111114/configure.ac.dma mesa-20111114/configure.ac
LLVM_VERSION=`$LLVM_CONFIG --version`
LLVM_CFLAGS=`$LLVM_CONFIG --cppflags|sed 's/-DNDEBUG\>//g'`
- LLVM_LIBS="`$LLVM_CONFIG --libs`"
+ LLVM_LIBS=-lLLVM-`llvm-config --version` -lstdc++
+ LLVM_LIBS="-lLLVM-`llvm-config --version` -lstdc++"
LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`
DEFINES="$DEFINES -D__STDC_CONSTANT_MACROS"