浏览代码

Fix segfault in __pthread_initialize_minimal in linuxthreads
implementation when built without SHARED flag as reported
by Will Newton <will.newton@gmail.com>

Carmelo Amoroso 17 年之前
父节点
当前提交
e049d0f896
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libpthread/linuxthreads/Makefile.in

+ 1 - 1
libpthread/linuxthreads/Makefile.in

@@ -77,7 +77,7 @@ libpthread-a-y  += $(libpthread_OBJ:.o=.os) $(libpthread-static-y:.o=.os)
 else
 libpthread-a-y  += $(libpthread_OBJ) $(libpthread-static-y)
 endif
-libpthread-so-y += $(libpthread_OBJ:.o=.os)
+libpthread-so-y += $(libpthread_OBJ:.o=.oS)
 
 lib-a-$(UCLIBC_HAS_THREADS) += $(top_builddir)lib/libpthread.a
 lib-so-$(UCLIBC_HAS_THREADS) += $(top_builddir)lib/libpthread.so