commit | 7a6b5d42d8f47bee84a6ef387a0939cac4569fb4 | [log] [tgz] |
---|---|---|
author | Tom Stellard <thomas.stellard@amd.com> | Wed May 02 11:06:13 2012 -0400 |
committer | Tom Stellard <thomas.stellard@amd.com> | Fri Jun 01 11:28:09 2012 -0400 |
tree | 80dd90b9e12ab45824cf4b79486070a51864ab5e | |
parent | d416780f396c28be977430e0d2225fa4a95780bc [diff] [blame] |
clover: Link to the necessary LLVM and Clang libs
diff --git a/configure.ac b/configure.ac index 07b6483..db68a87 100644 --- a/configure.ac +++ b/configure.ac
@@ -1854,6 +1854,9 @@ LLVM_LIBS="-lLLVM-`$LLVM_CONFIG --version`" 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`" + fi fi LLVM_LDFLAGS=`$LLVM_CONFIG --ldflags` LLVM_BINDIR=`$LLVM_CONFIG --bindir`