summaryrefslogtreecommitdiffstats
path: root/scripts/win-ldd.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/win-ldd.pl')
-rw-r--r--scripts/win-ldd.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/win-ldd.pl b/scripts/win-ldd.pl
index 9a303d325..7870a13e3 100644
--- a/scripts/win-ldd.pl
+++ b/scripts/win-ldd.pl
@@ -51,7 +51,7 @@ for (@ARGV) {
next if /^-/;
if (-d $_) {
push @searchdirs, $_;
- } elsif (-f $_) {
+ } elsif (-f $_ && ! /\.a$/) {
# Add $_'s path to the search list too
my $dirname = $_;
$dirname =~ s,/[^/]+$,,;