Bug 1255211 - Add profiledata to the list of LLVM libraries used by the clang plugin; r=jrmuizel

This library is needed for linking the clang plugin on Windows with the
trunk clang.
This commit is contained in:
Ehsan Akhgari 2016-03-09 08:33:09 -05:00
parent d1f112a81b
commit 8d56a4a75f

View File

@ -43,7 +43,7 @@ if test -n "$ENABLE_CLANG_PLUGIN"; then
dnl failure here is benign, so we can ignore it if it happens.
dnl Use tr instead of xargs in order to avoid problems with path separators on Windows.
LLVM_LDFLAGS=`$LLVMCONFIG --system-libs | tr '\n' ' '`
LLVM_LDFLAGS="$LLVM_LDFLAGS `$LLVMCONFIG --ldflags --libs core mc analysis asmparser mcparser bitreader option | tr '\n' ' '`"
LLVM_LDFLAGS="$LLVM_LDFLAGS `$LLVMCONFIG --ldflags --libs core mc analysis asmparser mcparser bitreader option profiledata | tr '\n' ' '`"
if test "${HOST_OS_ARCH}" = "Darwin"; then
CLANG_LDFLAGS="-lclangFrontend -lclangDriver -lclangSerialization"