aboutsummaryrefslogtreecommitdiff
path: root/utils/GenLibDeps.pl
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-02-25 01:21:38 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-02-25 01:21:38 +0000
commitb05942cec9803ae3d26dcc443074fb69d776d3a4 (patch)
treeec4924cadd8d5ccf09eacf61e888fe6148ba5595 /utils/GenLibDeps.pl
parentf0bd4cc1b605d52bbf03aa38e5c806bcb6f334f5 (diff)
Filter the future all-of-llvm shared library out of the llvm-config
results. I'm checking this in before the shared library so that I can tell if it breaks anything on its own. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/GenLibDeps.pl')
-rwxr-xr-xutils/GenLibDeps.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/GenLibDeps.pl b/utils/GenLibDeps.pl
index b320a9128c..f1f7e72bc1 100755
--- a/utils/GenLibDeps.pl
+++ b/utils/GenLibDeps.pl
@@ -70,6 +70,8 @@ opendir DIR,$Directory;
my @files = readdir DIR;
closedir DIR;
my @libs = grep(/libLLVM.*\.(dylib|so|a)$/,sort(@files));
+# Omit the all-of-llvm shared library.
+@libs = grep(!/libLLVM-\d\.\d(svn)?\.(dylib|so)/, @libs);
my @objs = grep(/LLVM.*\.o$/,sort(@files));
# Declare the hashes we will use to keep track of the library and object file