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

12 lines
379 B
Diff
Raw Normal View History

2016-02-18 10:45:32 +00:00
--- configure.ac.pthread 2016-02-18 11:40:40.177797402 +0100
+++ configure.ac 2016-02-18 11:41:34.232609836 +0100
2016-01-21 12:05:39 +00:00
@@ -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
2016-01-21 12:05:39 +00:00
AC_SEARCH_LIBS(pthread_create, pthread)
2016-02-18 10:45:32 +00:00
AC_SEARCH_LIBS(pthread_mutexattr_init, pthread)
2016-01-21 12:05:39 +00:00
fi