[PATCH] Fix busy-looping with aio engine and depth > 1
[fio.git] / Makefile.FreeBSD
index 894711721168c4298d4b7231ccdfd1eb5cb25803..4f0da736e0dbddedba01a0424e4cea4eef24273a 100644 (file)
@@ -9,11 +9,12 @@ OBJS += engines/fio-engine-cpu.o
 OBJS += engines/fio-engine-mmap.o
 OBJS += engines/fio-engine-posixaio.o
 OBJS += engines/fio-engine-sync.o
+OBJS += engines/fio-engine-null.o
 
 all: depend $(PROGS) $(SCRIPTS)
 
 fio: $(OBJS)
-       $(CC) $(CFLAGS) -o $@ $(OBJS) -lpthread -lm
+       $(CC) $(CFLAGS) -o $@ $(OBJS) -lpthread -lm -ldl -lrt
 
 clean:
        -rm -f *.o .depend cscope.out $(PROGS)