Put comma in correct place for call to StructType::get
[oota-llvm.git] / 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