From 28975dd0d2855aa50c03cfb85b940da648121fbd Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Fri, 3 Jan 2014 01:32:37 +0100 Subject: [PATCH] makefile: libtorrent needs -lrt for linking --- src/makefile.unix | 1 + 1 file changed, 1 insertion(+) diff --git a/src/makefile.unix b/src/makefile.unix index 1b1e803f..87bf92d6 100644 --- a/src/makefile.unix +++ b/src/makefile.unix @@ -177,6 +177,7 @@ leveldb/libleveldb.a: # MAKEOVERRIDES = LIBS += $(CURDIR)/../libtorrent/src/.libs/libtorrent-rasterbar.a +LIBS += -l rt DEFS += $(addprefix -I,$(CURDIR)/../libtorrent/include) DEFS += -DTORRENT_DEBUG DEFS += -DBOOST_ASIO_SEPARATE_COMPILATION