mirror of
https://github.com/mpv-player/mpv
synced 2024-12-14 02:45:43 +00:00
extended pthread to work under qnx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3002 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
55667d0378
commit
0faa3ec788
4
configure
vendored
4
configure
vendored
@ -1080,15 +1080,17 @@ else
|
||||
fi
|
||||
echores "$_dl"
|
||||
|
||||
|
||||
echocheck "pthread"
|
||||
cat > $TMPC << EOF
|
||||
#include <pthread.h>
|
||||
int main(void) { (void) pthread_create (0, 0, 0, 0); return 0; }
|
||||
EOF
|
||||
if cc_check -lpthread ; then
|
||||
_ld_pthread='-lpthread'
|
||||
elif cc_check -pthread ; then
|
||||
_ld_pthread='-pthread'
|
||||
elif cc_check ; then # QNX
|
||||
_ld_pthread=''
|
||||
else
|
||||
die "Lib pthread not found."
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user