aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-15 07:43:34 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-15 07:43:34 +0000
commit7061206b11352e4ce3cfa868a6a92f20112d6a82 (patch)
tree1ca7226f01c6bfc2b11aa73a2bdb3e3c6a3a2721 /tools
parent0a346f44ebadd31ff1eabbe2fb5809cc7ebd1f08 (diff)
downloadexternal_llvm-7061206b11352e4ce3cfa868a6a92f20112d6a82.zip
external_llvm-7061206b11352e4ce3cfa868a6a92f20112d6a82.tar.gz
external_llvm-7061206b11352e4ce3cfa868a6a92f20112d6a82.tar.bz2
Teach Makefiles & CMake to link in the <TARGET>Info library when linking the
TARGET component. - Also, updated some CMake library dependencies, it is still missing some though. :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-config/llvm-config.in.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/llvm-config/llvm-config.in.in b/tools/llvm-config/llvm-config.in.in
index 10a13b6..303bffb 100644
--- a/tools/llvm-config/llvm-config.in.in
+++ b/tools/llvm-config/llvm-config.in.in
@@ -333,7 +333,12 @@ sub build_name_map {
foreach my $target (@TARGETS_BUILT) {
# FIXME: Temporary, until we don't switch all targets
if (defined $NAME_MAP{$target.'asmprinter'}) {
- $NAME_MAP{$target} = [$target.'asmprinter', $target.'codegen']
+ $NAME_MAP{$target} = [$target.'info',
+ $target.'asmprinter',
+ $target.'codegen']
+ } else {
+ $NAME_MAP{$target} = [$target.'info',
+ $NAME_MAP{$target}[0]]
}
}