summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-08 02:24:42 +0200
committerwm4 <wm4@nowhere>2013-07-08 02:24:42 +0200
commit49bf0fb9dffdd8b39e68c4e423bbab653d3db396 (patch)
treefea60b70f0be662c4bf4289f6d4e1f73defb3eab
parentbfe0207a7a7fed8e9fe8643fbd99d5f15abefaad (diff)
downloadmpv-49bf0fb9dffdd8b39e68c4e423bbab653d3db396.tar.bz2
mpv-49bf0fb9dffdd8b39e68c4e423bbab653d3db396.tar.xz
configure: fix previous commit
This doesn't help if -pthread is omitted. (Apparently, glibc 2.17, on which I tested the previous commit, doesn't require -lpthread in order to use pthreads either.)
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 9299a0c26d..e3fc0766fb 100755
--- a/configure
+++ b/configure
@@ -1279,7 +1279,7 @@ if test "$_pthreads" = yes ; then
# this will hopefully do nothing.
echocheck "linking with -lrt"
_rt=no
-cc_check "-lrt" && _rt=yes
+cc_check "$_ld_pthread -lrt" && _rt=yes
if test "$_rt" = yes ; then
_ld_pthread="$_ld_pthread -lrt"
fi