Blame SOURCES/sqlite-dont-search-for-pthreads-on-non-unix.patch

11c328
--- configure.ac.pthread	2016-02-18 11:40:40.177797402 +0100
11c328
+++ configure.ac	2016-02-18 11:41:34.232609836 +0100
11c328
@@ -193,7 +193,7 @@
11c328
 fi
11c328
 AC_SUBST(SQLITE_THREADSAFE)
11c328
 
11c328
-if test "$SQLITE_THREADSAFE" = "1"; then
11c328
+if test "$SQLITE_THREADSAFE" = "1" -a "$SQLITE_OS_UNIX" = "1" ; then
11c328
   AC_SEARCH_LIBS(pthread_create, pthread)
11c328
   AC_SEARCH_LIBS(pthread_mutexattr_init, pthread)
11c328
 fi