summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-01-26 13:31:50 +0000
committerDiego Biurrun <diego@biurrun.de>2008-01-26 13:31:50 +0000
commitafc9aee2b46593612028c93daf9c2dd48b2f91a0 (patch)
tree78a9990ba36258edcf52014bfbd13ab572e10bbc /configure
parent3fe142e2555ec8b527f2ff4cc517c015a114e91a (diff)
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 04bdbedd0b..f8ccd8aae5 100755
--- a/configure
+++ b/configure
@@ -1606,10 +1606,10 @@ if enabled pthreads; then
:
elif check_func pthread_create -pthread; then
add_cflags -pthread
- add_ldflags -pthread
+ add_extralibs -pthread
elif check_func pthread_create -pthreads; then
add_cflags -pthreads
- add_ldflags -pthreads
+ add_extralibs -pthreads
elif ! check_lib pthread.h pthread_create -lpthread; then
die "ERROR: can't find pthreads library"
fi