Allow running sptps_test on Windows
[tinc] / src / Makefile.am
index 12261ff..4b266a7 100644 (file)
@@ -272,6 +272,10 @@ tincd_LDADD = $(MINIUPNPC_LIBS)
 tincd_LDFLAGS = -pthread
 endif
 
+if MINGW
+sptps_test_LDFLAGS = -pthread
+endif
+
 tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS)
 sptps_speed_LDADD = -lrt