diff --git a/utils/GenLibDeps.pl b/utils/GenLibDeps.pl index b320a9128ce..f1f7e72bc1a 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