From b05942cec9803ae3d26dcc443074fb69d776d3a4 Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Thu, 25 Feb 2010 01:21:38 +0000 Subject: 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 --- utils/GenLibDeps.pl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils') 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 -- cgit v1.2.3