Fix `llvm-config` to emit the linker flag for the combined shared object built by...
authorJF Bastien <jfb@google.com>
Fri, 10 Jul 2015 20:24:17 +0000 (20:24 +0000)
committerJF Bastien <jfb@google.com>
Fri, 10 Jul 2015 20:24:17 +0000 (20:24 +0000)
commit01446706b4c0a86bb64768f307079cab5c514aa3
treee8545e4c32f10291c8d34d049d1d46e281c6c3ff
parentd37a9dfc0b1c99a3394416399f626b4739a7f211
Fix `llvm-config` to emit the linker flag for the combined shared object built by autoconfig/make instead of the individual components.

Summary:
This fixes `llvm-config` instead of fixing the makefiles because, AIUI, LLVM's autoconfig/make build system is on the way out anyway.

This change only affects builds that use autoconfig/make.

Reviewers: jfb

Subscribers: echristo, dschuff, llvm-commits

Differential Revision: http://reviews.llvm.org/D10716

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241938 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-config/BuildVariables.inc.in
tools/llvm-config/CMakeLists.txt
tools/llvm-config/Makefile
tools/llvm-config/llvm-config.cpp