Mesa (master): configure.ac: Add libLLVMMCJIT to the LLVM_LDFLAGS

Tom Stellard tstellar at kemper.freedesktop.org
Tue Jul 17 16:17:06 UTC 2012


Module: Mesa
Branch: master
Commit: ed41a559dc3293dab75c4f0198531a6f5b870c39
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed41a559dc3293dab75c4f0198531a6f5b870c39

Author: Tom Stellard <tstellar at gmail.com>
Date:   Tue Jul 17 14:16:58 2012 +0000

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 at vmware.com>

---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 9227474..068f632 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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`




More information about the mesa-commit mailing list