diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2010-02-25 01:21:38 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2010-02-25 01:21:38 +0000 |
commit | b05942cec9803ae3d26dcc443074fb69d776d3a4 (patch) | |
tree | ec4924cadd8d5ccf09eacf61e888fe6148ba5595 /utils/GenLibDeps.pl | |
parent | f0bd4cc1b605d52bbf03aa38e5c806bcb6f334f5 (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-x | utils/GenLibDeps.pl | 2 |
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 |