forked from OSchip/llvm-project
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:
parent
8cf9eeb519
commit
e776fbfb82
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue