[llvm-commits] [llvm] r59158 - /llvm/trunk/utils/GenLibDeps.pl

Oscar Fuentes ofv at wanadoo.es
Wed Nov 12 12:39:27 PST 2008


Author: ofv
Date: Wed Nov 12 14:39:06 2008
New Revision: 59158

URL: http://llvm.org/viewvc/llvm-project?rev=59158&view=rev
Log:
Tell GenLibDeps.pl to inspect .so and .dylib shared files.

Modified:
    llvm/trunk/utils/GenLibDeps.pl

Modified: llvm/trunk/utils/GenLibDeps.pl
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/GenLibDeps.pl?rev=59158&r1=59157&r2=59158&view=diff

==============================================================================
--- llvm/trunk/utils/GenLibDeps.pl (original)
+++ llvm/trunk/utils/GenLibDeps.pl Wed Nov 12 14:39:06 2008
@@ -48,7 +48,7 @@
 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





More information about the llvm-commits mailing list