From: James Zern Date: Thu, 27 Jun 2013 01:35:11 +0000 (-0700) Subject: test_libvpx: disable pthreads in gtest for win targets X-Git-Tag: v1.3.0~908^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4d2c255f116f179796d43259a52a8c1f257d827;p=libvpx test_libvpx: disable pthreads in gtest for win targets currently threading is internal to libvpx so thread safety is unneeded in libgtest -- visual studio builds already operate in this way as they do not have pthread.h available by default. this removes an unconditional link to libpthread using $(extralibs) should libvpx require it. Change-Id: I2f278b711f533d0f4d8a6c896833e3e2237d1f45 --- diff --git a/configure b/configure index 28676fbc6..36fc08f22 100755 --- a/configure +++ b/configure @@ -682,6 +682,14 @@ process_toolchain() { # iOS/ARM builds do not work with gtest. This does not match # x86 targets. ;; + *-win*) + # Some mingw toolchains don't have pthread available by default. + # Treat these more like visual studio where threading in gtest + # would be disabled for the same reason. + check_cxx "$@" <