From 38d6c9a8170e7126a5a2373a29789eda8a57ee74 Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Wed, 12 Nov 2008 20:39:06 +0000 Subject: Tell GenLibDeps.pl to inspect .so and .dylib shared files. llvm-svn: 59158 --- llvm/utils/GenLibDeps.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/utils') diff --git a/llvm/utils/GenLibDeps.pl b/llvm/utils/GenLibDeps.pl index 21853d5350b..e5017742518 100755 --- a/llvm/utils/GenLibDeps.pl +++ b/llvm/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 -- cgit v1.2.3