[Mesa-dev] [PATCH] configure.ac: Add libLLVMMCJIT to the LLVM_LDFLAGS

Tom Stellard tstellar at gmail.com
Tue Jul 17 07:16:58 PDT 2012


This is neccessary for linking the llvmpipe tests.  It appears this
dependency was introduced by the "wider native register" changes.
---
 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`
-- 
1.7.7.6



More information about the mesa-dev mailing list