Explorar el Código

configure.ac: fix librt check

Thanks to Pete Zaitcev <zaitcev@kotori.zaitcev.us>
Dimitri Stolnikov hace 12 años
padre
commit
58a53039db
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"