Ver código fonte

configure.ac: fix librt check

Thanks to Pete Zaitcev <zaitcev@kotori.zaitcev.us>
Dimitri Stolnikov 12 anos atrás
pai
commit
58a53039db
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -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"