diff options
Diffstat (limited to '0002-Remove-lpthread.patch')
-rw-r--r-- | 0002-Remove-lpthread.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/0002-Remove-lpthread.patch b/0002-Remove-lpthread.patch new file mode 100644 index 000000000000..67cbab5fce13 --- /dev/null +++ b/0002-Remove-lpthread.patch @@ -0,0 +1,14 @@ +--- a/configure ++++ b/configure +@@ -1049,9 +1049,9 @@ + cc_check pthread.h -lc "pthread_create(0,0,0,0);" && thread="posix" && libpthread="-lc" + ;; + *) +- if cc_check pthread.h -lpthread "pthread_create(0,0,0,0);" ; then ++ if cc_check pthread.h "" "pthread_create(0,0,0,0);" ; then + thread="posix" +- libpthread="-lpthread" ++ libpthread="" + else + cc_check pthread.h "" "pthread_create(0,0,0,0);" && thread="posix" && libpthread="" + fi |