diff -aur mesa.a/configure.ac mesa.b/configure.ac --- mesa.a/configure.ac 2016-07-21 01:37:47.000000000 +0200 +++ mesa.b/configure.ac 2016-07-21 01:46:59.426168060 +0200 @@ -825,7 +825,7 @@ dnl pthread-stubs is mandatory on targets where it exists case "$host_os" in -cygwin* ) +cygwin* | linux* ) pthread_stubs_possible="no" ;; * )