configure: check for pthreads building on windows with gcc

Change-Id: I737361fa9911c11017af971a80c2ffad20b01d03
This commit is contained in:
Andoni Morales Alastruey 2012-08-09 12:54:09 +02:00
parent 429743c56b
commit 4180dfd93c

View File

@ -1143,7 +1143,7 @@ EOF
# Almost every platform uses pthreads.
if enabled multithread; then
case ${toolchain} in
*-win*);;
*-win*-vs*);;
*-android-gcc);;
*) check_header pthread.h && add_extralibs -lpthread
esac