From 871c0fc7c3af41dea5879dec5308ab095cf10c82 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 5 Dec 2006 11:56:56 +0100 Subject: [PATCH] [PATCH] Fix FreeBSD/Solaris linkage Signed-off-by: Jens Axboe --- Makefile.FreeBSD | 2 +- Makefile.solaris | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.25.1