Commit 25d5bf28 authored by diego's avatar diego

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11618 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7312c779
...@@ -1606,10 +1606,10 @@ if enabled pthreads; then ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment