Tell GenLibDeps.pl to inspect .so and .dylib shared files.
authorOscar Fuentes <ofv@wanadoo.es>
Wed, 12 Nov 2008 20:39:06 +0000 (20:39 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Wed, 12 Nov 2008 20:39:06 +0000 (20:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59158 91177308-0d34-0410-b5e6-96231b3b80d8

utils/GenLibDeps.pl

index 21853d5350b021aa6c88c879f7e628c6944add4c..e501774251887a15b5f39c452c6418dfe11e5c48 100755 (executable)
@@ -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