Use -pthread instead of -lpthread on FreeBSD
[fio.git] / Makefile.FreeBSD
index 02ff95db4580201fb6311e7641763a6d78612d84..c9a1422ba1a8a723aa24bfd06ff6a448803d8ce0 100644 (file)
@@ -50,7 +50,7 @@ mandir = $(prefix)/man
 %.o: %.c
        $(QUIET_CC)$(CC) -o $*.o -c $(CFLAGS) $<
 fio: $(OBJS)
-       $(QUIET_CC)$(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -lpthread -lm -lrt
+       $(QUIET_CC)$(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(EXTLIBS) -pthread -lm -lrt
 
 depend:
        $(QUIET_DEP)$(CC) -MM $(ALL_CFLAGS) $(SOURCE) 1> .depend