run ctors/dtors for shared objects loaded with dlopen
[musl] / src / ldso / dynlink.c
index ca49f43..01c7f29 100644 (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;