From: Oscar Fuentes Date: Wed, 12 Nov 2008 20:39:06 +0000 (+0000) Subject: Tell GenLibDeps.pl to inspect .so and .dylib shared files. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e40db4a2f396d6ea5c47798ef71b580f089b83d1;p=oota-llvm.git Tell GenLibDeps.pl to inspect .so and .dylib shared files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59158 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/GenLibDeps.pl b/utils/GenLibDeps.pl index 21853d5350b..e5017742518 100755 --- a/utils/GenLibDeps.pl +++ b/utils/GenLibDeps.pl @@ -48,7 +48,7 @@ if (!defined($nmPath) || $nmPath eq "") { opendir DIR,$Directory; my @files = readdir DIR; closedir DIR; -my @libs = grep(/libLLVM.*\.a$/,sort(@files)); +my @libs = grep(/libLLVM.*\.(dylib|so|a)$/,sort(@files)); my @objs = grep(/LLVM.*\.o$/,sort(@files)); # Declare the hashes we will use to keep track of the library and object file