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

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