diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-08-15 12:20:57 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-08-15 12:20:57 -0400 |
commit | 8683c5653244d8ae58b9a569594f14534b31216a (patch) | |
tree | b5bd95c526111df83fcd99f641191a1055537c87 | |
parent | 882f69eb0a7569302a9282d609dca74035726fae (diff) | |
parent | a26a2735b9cf9c6940d784f755f983088c333833 (diff) | |
download | tor-8683c5653244d8ae58b9a569594f14534b31216a.tar.gz tor-8683c5653244d8ae58b9a569594f14534b31216a.zip |
Merge branch 'maint-0.3.2' into release-0.3.2
-rw-r--r-- | changes/bug27081 | 4 | ||||
-rw-r--r-- | configure.ac | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/changes/bug27081 b/changes/bug27081 new file mode 100644 index 0000000000..74e0efbd29 --- /dev/null +++ b/changes/bug27081 @@ -0,0 +1,4 @@ + o Minor bugfixes (compilation, windows): + - Don't link or search for pthreads when building for Windows, even if we + are using build environment (like mingw) that provides a pthreads + library. Fixes bug 27081; bugfix on 0.1.0.1-rc. diff --git a/configure.ac b/configure.ac index 62cd926794..d8ed1faae4 100644 --- a/configure.ac +++ b/configure.ac @@ -487,8 +487,10 @@ if test "$LIBS" != "$saved_LIBS"; then have_rt=yes fi -AC_SEARCH_LIBS(pthread_create, [pthread]) -AC_SEARCH_LIBS(pthread_detach, [pthread]) +if test "$bwin32" = "false"; then + AC_SEARCH_LIBS(pthread_create, [pthread]) + AC_SEARCH_LIBS(pthread_detach, [pthread]) +fi AM_CONDITIONAL(THREADS_WIN32, test "$bwin32" = "true") AM_CONDITIONAL(THREADS_PTHREADS, test "$bwin32" = "false") |