configure.ac: fix librt check

Thanks to Pete Zaitcev <zaitcev@kotori.zaitcev.us>
This commit is contained in:
Dimitri Stolnikov 2012-11-07 20:21:58 +01:00
parent 43c0145200
commit 58a53039db
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ dnl libmath (for rtl_fm)
AC_CHECK_LIB(m, atan2, [LIBS="$LIBS -lm"])
dnl librealtime (for rtl_test)
AC_CHECK_LIB(rt, clock_gettime, [LIBS="$LIBS"])
AC_CHECK_LIB(rt, clock_gettime, [LIBS="$LIBS -lrt"])
# The following test is taken from WebKit's webkit.m4
saved_CFLAGS="$CFLAGS"