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.

llvm-svn: 97089
This commit is contained in:
Jeffrey Yasskin 2010-02-25 01:21:38 +00:00
parent 8cf9eeb519
commit e776fbfb82
1 changed files with 2 additions and 0 deletions

View File

@ -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