mingw-sqlite/sqlite-dont-search-for-pthreads-on-non-unix.patch
2016-01-21 13:05:39 +01:00

12 lines
330 B
Diff

--- configure.ac.pthread 2016-01-20 22:49:56.000000000 +0100
+++ configure.ac 2016-01-21 12:44:53.595296633 +0100
@@ -193,7 +193,7 @@
fi
AC_SUBST(SQLITE_THREADSAFE)
-if test "$SQLITE_THREADSAFE" = "1"; then
+if test "$SQLITE_THREADSAFE" = "1" -a "$SQLITE_OS_UNIX" = "1" ; then
AC_SEARCH_LIBS(pthread_create, pthread)
fi