configure: fix pthread_cancel check
authorJames Almer <jamrial@gmail.com>
Thu, 12 Oct 2017 23:24:36 +0000 (20:24 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 12 Oct 2017 23:24:36 +0000 (20:24 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
configure

index ce5ad8a..515d7e2 100755 (executable)
--- a/configure
+++ b/configure
@@ -5931,7 +5931,7 @@ fi
 
 
 if enabled pthreads; then
-  check_func pthread_cancel
+  check_func pthread_cancel $pthreads_extralibs
 fi
 
 enabled pthreads &&