Merge pull request #31 from sanchi/master

makefile: libtorrent needs -lrt for linking
This commit is contained in:
miguelfreitas 2014-01-03 12:16:17 -08:00
commit 56b21cd50d

View File

@ -177,6 +177,7 @@ leveldb/libleveldb.a:
# #
MAKEOVERRIDES = MAKEOVERRIDES =
LIBS += $(CURDIR)/../libtorrent/src/.libs/libtorrent-rasterbar.a LIBS += $(CURDIR)/../libtorrent/src/.libs/libtorrent-rasterbar.a
LIBS += -l rt
DEFS += $(addprefix -I,$(CURDIR)/../libtorrent/include) DEFS += $(addprefix -I,$(CURDIR)/../libtorrent/include)
DEFS += -DTORRENT_DEBUG DEFS += -DTORRENT_DEBUG
DEFS += -DBOOST_ASIO_SEPARATE_COMPILATION DEFS += -DBOOST_ASIO_SEPARATE_COMPILATION