run ctors/dtors for shared objects loaded with dlopen

This commit is contained in:
Rich Felker 2012-02-06 17:57:29 -05:00
parent 4ce3cb5cdd
commit ce4d97e3dc
1 changed files with 1 additions and 0 deletions

View File

@ -655,6 +655,7 @@ void *dlopen(const char *file, int mode)
p->global = 1;
}
do_init_fini(tail);
end:
pthread_rwlock_unlock(&lock);
return p;