summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-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