libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit bc2a106cb71cca45ee66e761df3a0200a1ccb0d1
parent 01db3836bb7f44e127ceed62cfdb15265f97a04c
Author: Nils Durner <durner@gnunet.org>
Date:   Sat, 16 Jan 2010 22:54:34 +0000

ignore static libs

Diffstat:
Msrc/main/extractor.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main/extractor.c b/src/main/extractor.c @@ -558,7 +558,9 @@ load_plugins_from_dir (void *cls, if (ent->d_name[0] == '.') continue; if ( (NULL != (la = strstr (ent->d_name, ".la"))) && - (la[3] == '\0') ) + (la[3] == '\0') || + (NULL != (la = strstr (ent->d_name, ".a"))) && + (la[2] == '\0')) continue; /* only load '.so' and '.dll' */ sym_name = strstr (ent->d_name, "_");