configure.ac: Add libLLVMMCJIT to the LLVM_LDFLAGS
authorTom Stellard <tstellar@gmail.com>
Tue, 17 Jul 2012 14:16:58 +0000 (14:16 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 17 Jul 2012 16:08:24 +0000 (12:08 -0400)
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>
configure.ac

index 9227474f13f404e6a86c2483a0f417effd38f899..068f632d3088db1df575cda68ec7d618f67133b2 100644 (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`