summaryrefslogtreecommitdiff
path: root/utils/GenLibDeps.pl
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2008-11-12 20:39:06 +0000
committerOscar Fuentes <ofv@wanadoo.es>2008-11-12 20:39:06 +0000
commite40db4a2f396d6ea5c47798ef71b580f089b83d1 (patch)
tree78d0423b259c4d46023f2a7b07a094c15bd33c6f /utils/GenLibDeps.pl
parent7e298ed379d71c32d62cbfc6e8df8039b04ef895 (diff)
downloadllvm-e40db4a2f396d6ea5c47798ef71b580f089b83d1.tar.gz
llvm-e40db4a2f396d6ea5c47798ef71b580f089b83d1.tar.bz2
llvm-e40db4a2f396d6ea5c47798ef71b580f089b83d1.tar.xz
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
Diffstat (limited to 'utils/GenLibDeps.pl')
-rwxr-xr-xutils/GenLibDeps.pl2
1 files changed, 1 insertions, 1 deletions
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