--- ./auto/threads	2017-01-31 20:31:11.000000000 +0530
+++ ../threads	2017-03-18 21:24:15.697120228 +0530
@@ -16,5 +16,4 @@
     have=NGX_THREADS . auto/have
     CORE_DEPS="$CORE_DEPS $THREAD_POOL_DEPS"
     CORE_SRCS="$CORE_SRCS $THREAD_POOL_SRCS"
-    CORE_LIBS="$CORE_LIBS -lpthread"
 fi