Link sptps_speed with -lrt.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 15 Sep 2013 20:03:00 +0000 (22:03 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 15 Sep 2013 20:03:00 +0000 (22:03 +0200)
This is necessary for clock_gettime() on older versions of libc.

src/Makefile.am

index bf2f6404677e136ed7023a5aee6226ad3a19a20f..ccb966cae1b6f1d9c21efd053d604bb219beaf50 100644 (file)
@@ -195,6 +195,7 @@ sptps_test_SOURCES += \
 endif
 
 tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
+sptps_speed_LDADD = -lrt
 
 LIBS = @LIBS@ @LIBGCRYPT_LIBS@