[PATCH] Fix busy-looping with aio engine and depth > 1
[fio.git] / Makefile.FreeBSD
index ed75473be0a9bdfdbb376e2a9c6942dbf8f9e48d..4f0da736e0dbddedba01a0424e4cea4eef24273a 100644 (file)
@@ -14,7 +14,7 @@ OBJS += engines/fio-engine-null.o
 all: depend $(PROGS) $(SCRIPTS)
 
 fio: $(OBJS)
 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)
 
 clean:
        -rm -f *.o .depend cscope.out $(PROGS)