From ca51d6183a85431a93c3801e854224a8c6a39308 Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Wed, 12 Nov 2008 20:39:06 +0000 Subject: [PATCH] Tell GenLibDeps.pl to inspect .so and .dylib shared files. llvm-svn: 59158 --- utils/GenLibDeps.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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