mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
Add -pthread to extralibs and not to ldflags so that the dependency gets
reflected in the pkg-config files. noticed by j .at. v2v .dot. cc Originally committed as revision 11618 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3fe142e255
commit
afc9aee2b4
4
configure
vendored
4
configure
vendored
@ -1606,10 +1606,10 @@ if enabled pthreads; then
|
|||||||
:
|
:
|
||||||
elif check_func pthread_create -pthread; then
|
elif check_func pthread_create -pthread; then
|
||||||
add_cflags -pthread
|
add_cflags -pthread
|
||||||
add_ldflags -pthread
|
add_extralibs -pthread
|
||||||
elif check_func pthread_create -pthreads; then
|
elif check_func pthread_create -pthreads; then
|
||||||
add_cflags -pthreads
|
add_cflags -pthreads
|
||||||
add_ldflags -pthreads
|
add_extralibs -pthreads
|
||||||
elif ! check_lib pthread.h pthread_create -lpthread; then
|
elif ! check_lib pthread.h pthread_create -lpthread; then
|
||||||
die "ERROR: can't find pthreads library"
|
die "ERROR: can't find pthreads library"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user