From: Jens Axboe Date: Tue, 5 Dec 2006 10:56:56 +0000 (+0100) Subject: [PATCH] Fix FreeBSD/Solaris linkage X-Git-Tag: fio-1.10~13 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=871c0fc7c3af41dea5879dec5308ab095cf10c82;ds=sidebyside [PATCH] Fix FreeBSD/Solaris linkage Signed-off-by: Jens Axboe --- diff --git a/Makefile.FreeBSD b/Makefile.FreeBSD index ed75473b..4f0da736 100644 --- a/Makefile.FreeBSD +++ b/Makefile.FreeBSD @@ -14,7 +14,7 @@ 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) diff --git a/Makefile.solaris b/Makefile.solaris index 9eb2ebca..1a68984d 100644 --- a/Makefile.solaris +++ b/Makefile.solaris @@ -14,7 +14,7 @@ OBJS += engines/fio-engine-null.o all: depend $(PROGS) $(SCRIPTS) fio: $(OBJS) - $(CC) $(CFLAGS) -o $@ $(OBJS) -lc -lpthread -lm -laio -lrt + $(CC) $(CFLAGS) -o $@ $(OBJS) -lc -lpthread -lm -laio -lrt -ldl clean: -rm -f *.o .depend cscope.out $(PROGS)