From e40db4a2f396d6ea5c47798ef71b580f089b83d1 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59158 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/GenLibDeps.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/GenLibDeps.pl') diff --git a/utils/GenLibDeps.pl b/utils/GenLibDeps.pl index 21853d5350..e501774251 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 -- cgit v1.2.3