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 bf2f640..ccb966c 100644 (file)
@@ -195,6 +195,7 @@ sptps_test_SOURCES += \
 endif
 
 tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
+sptps_speed_LDADD = -lrt
 
 LIBS = @LIBS@ @LIBGCRYPT_LIBS@