1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

Tell GenLibDeps.pl to inspect .so and .dylib shared files.

llvm-svn: 59158
This commit is contained in:
Oscar Fuentes 2008-11-12 20:39:06 +00:00
parent 5ad71e113e
commit ca51d6183a

View File

@ -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