summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-04 05:35:23 +0000
committerChris Lattner <sabre@nondot.org>2006-09-04 05:35:23 +0000
commit54eae9e1ec35db90a6f33dd8053c533861771bb6 (patch)
tree6a291db97efeb47ae656cb7bf0c64836ca9edbdc /tools
parentebfc3a9fc22b741f67e264409b9a882a864f9fc2 (diff)
downloadllvm-54eae9e1ec35db90a6f33dd8053c533861771bb6.tar.gz
llvm-54eae9e1ec35db90a6f33dd8053c533861771bb6.tar.bz2
llvm-54eae9e1ec35db90a6f33dd8053c533861771bb6.tar.xz
Allow things like --libs CBackend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-config/llvm-config.in.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/llvm-config/llvm-config.in.in b/tools/llvm-config/llvm-config.in.in
index 51b79ec926..e24b1c327c 100644
--- a/tools/llvm-config/llvm-config.in.in
+++ b/tools/llvm-config/llvm-config.in.in
@@ -143,6 +143,9 @@ if (@components == 0) {
push @components, 'all';
}
+# Force component names to lower case.
+@components = map lc, @components;
+
# Handle any arguments which require building our dependency graph.
if ($want_libs || $want_libnames || $want_libfiles) {
my @libs = expand_dependencies(@components);