diff options
author | Eric Sandeen <sandeen@redhat.com> | 2010-02-22 19:56:52 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-02-22 19:56:52 +0100 |
commit | 0d76d14f46195eb4295c35bf15531890378c7684 (patch) | |
tree | 1327d2239789f89750b81dfede1eb4e4b9f44fe4 | |
parent | 2e37a10ee8b470b805e7c26c703073dbc54ca84e (diff) | |
download | blktrace-0d76d14f46195eb4295c35bf15531890378c7684.tar.gz blktrace-0d76d14f46195eb4295c35bf15531890378c7684.tar.bz2 |
add libpthread to btreplay/Makefile LIBS
Fedora linking changes picked this up:
/usr/bin/ld: btreplay.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
See also https://bugzilla.redhat.com/show_bug.cgi?id=564775
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r-- | btreplay/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/btreplay/Makefile b/btreplay/Makefile index d027afb..2998182 100644 --- a/btreplay/Makefile +++ b/btreplay/Makefile @@ -13,7 +13,7 @@ XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 override CFLAGS += $(INCS) $(XCFLAGS) $(OCFLAGS) PROGS = btrecord btreplay -LIBS = -laio -lrt +LIBS = -laio -lrt -lpthread all: depend $(PROGS) |