diff --git a/components/libc/pthreads/pthread.c b/components/libc/pthreads/pthread.c index 41432f760..eb7d582e5 100644 --- a/components/libc/pthreads/pthread.c +++ b/components/libc/pthreads/pthread.c @@ -39,6 +39,7 @@ int pthread_system_init(void) return 0; } +INIT_COMPONENT_EXPORT(pthread_system_init); static void _pthread_cleanup(rt_thread_t tid) {