diff options
Diffstat (limited to 'src/main/extractor.c')
-rw-r--r-- | src/main/extractor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/extractor.c b/src/main/extractor.c index 9024a0c..b9e04ef 100644 --- a/src/main/extractor.c +++ b/src/main/extractor.c | |||
@@ -558,7 +558,9 @@ load_plugins_from_dir (void *cls, | |||
558 | if (ent->d_name[0] == '.') | 558 | if (ent->d_name[0] == '.') |
559 | continue; | 559 | continue; |
560 | if ( (NULL != (la = strstr (ent->d_name, ".la"))) && | 560 | if ( (NULL != (la = strstr (ent->d_name, ".la"))) && |
561 | (la[3] == '\0') ) | 561 | (la[3] == '\0') || |
562 | (NULL != (la = strstr (ent->d_name, ".a"))) && | ||
563 | (la[2] == '\0')) | ||
562 | continue; /* only load '.so' and '.dll' */ | 564 | continue; /* only load '.so' and '.dll' */ |
563 | 565 | ||
564 | sym_name = strstr (ent->d_name, "_"); | 566 | sym_name = strstr (ent->d_name, "_"); |