configure.ac: Add libLLVMMCJIT to the LLVM_LDFLAGS

This is neccessary for linking the llvmpipe tests.  It appears this
dependency was introduced by the "wider native register" changes.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
Tom Stellard 2012-07-17 14:16:58 +00:00 committed by Tom Stellard
parent fadc9eaf97
commit ed41a559dc

View File

@ -1849,7 +1849,7 @@ if test "x$enable_gallium_llvm" = xyes; then
else
LLVM_LIBS="`$LLVM_CONFIG --libs engine bitwriter`"
if test "x$enable_opencl" = xyes; then
LLVM_LIBS="${LLVM_LIBS} `llvm-config --libs ipo linker instrumentation`"
LLVM_LIBS="${LLVM_LIBS} `llvm-config --libs ipo linker instrumentation mcjit`"
fi
fi
LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags`