mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 14:50:07 +00:00
The test to check for working pthreads fails if the system can support
pthreads without any gcc options (for instance, Darwin). patch by Alexander Strange <astrange at ithinksw dot com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14580 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d601428b98
commit
20f5b52854
2
configure
vendored
2
configure
vendored
@ -2691,7 +2691,7 @@ if mingw32 ; then
|
||||
elif hpux ; then
|
||||
_ld_pthread=''
|
||||
elif ( cc_check && $TMPO ) ; then # QNX
|
||||
_ld_pthread=''
|
||||
_ld_pthread=' ' # _ld_pthread='' would disable pthreads, but the test worked
|
||||
elif ( cc_check -lpthread && $TMPO ) ; then
|
||||
_ld_pthread='-lpthread'
|
||||
elif ( cc_check -pthread && $TMPO ) ; then
|
||||
|
Loading…
Reference in New Issue
Block a user