summaryrefslogtreecommitdiffstats
path: root/llvm/utils
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
commit38d6c9a8170e7126a5a2373a29789eda8a57ee74 (patch)
treef960bccdb99b3eeb9d0937f241e2a63749fc0ab3 /llvm/utils
parentb5da7a342c82b7be23bf07804bd395c4a1ac5f47 (diff)
downloadbcm5719-llvm-38d6c9a8170e7126a5a2373a29789eda8a57ee74.tar.gz
bcm5719-llvm-38d6c9a8170e7126a5a2373a29789eda8a57ee74.zip
Tell GenLibDeps.pl to inspect .so and .dylib shared files.
llvm-svn: 59158
Diffstat (limited to 'llvm/utils')
-rwxr-xr-xllvm/utils/GenLibDeps.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/GenLibDeps.pl b/llvm/utils/GenLibDeps.pl
index 21853d5350b..e5017742518 100755
--- a/llvm/utils/GenLibDeps.pl
+++ b/llvm/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
OpenPOWER on IntegriCloud