From 343421f2bd63a9bda7acb52ad7cb4fc34755f616 Mon Sep 17 00:00:00 2001 From: P2P-Next Date: Mon, 9 Aug 2010 20:12:35 +0300 Subject: [PATCH] instrumentation/hrktorrent: update Makefile files to use full path --- instrumentation/hrktorrent/Makefile | 2 +- instrumentation/hrktorrent/vars.mk | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/instrumentation/hrktorrent/Makefile b/instrumentation/hrktorrent/Makefile index a5f04db..0fec1aa 100644 --- a/instrumentation/hrktorrent/Makefile +++ b/instrumentation/hrktorrent/Makefile @@ -12,7 +12,7 @@ $(OUT): $(OBJ) $(OUT)-static: $(OBJ) @echo [LD] $@ - $(CXX) $(OBJ) ../libtorrent-rasterbar/lib/libtorrent-rasterbar.a $(EXTRA_LIBS) -o $@ + $(CXX) $(OBJ) /home/p2p/p2p-clients/hrktorrent/libtorrent-rasterbar/lib/libtorrent-rasterbar.a $(EXTRA_LIBS) -o $@ clean: -rm -rf $(OBJ) $(OUT) $(OUT)-static *~ diff --git a/instrumentation/hrktorrent/vars.mk b/instrumentation/hrktorrent/vars.mk index fe39492..74766ce 100644 --- a/instrumentation/hrktorrent/vars.mk +++ b/instrumentation/hrktorrent/vars.mk @@ -2,10 +2,10 @@ PREFIX = /usr/local MANPREFIX = ${PREFIX}/man CXX? = g++ OBJ = main.o core.o settings.o utils.o ipfilter.o -EXTRA_OBJ = ../libtorrent-rasterbar/lib/libtorrent-rasterbar.a +EXTRA_OBJ = /home/p2p/p2p-clients/hrktorrent/libtorrent-rasterbar/lib/libtorrent-rasterbar.a OUT = hrktorrent -CXXFLAGS += `PKG_CONFIG_PATH=../libtorrent-rasterbar pkg-config --cflags libtorrent-rasterbar` -LIBS = `PKG_CONFIG_PATH=../libtorrent-rasterbar pkg-config --libs libtorrent-rasterbar` -lpthread +CXXFLAGS += `PKG_CONFIG_PATH=/home/p2p/p2p-clients/hrktorrent/libtorrent-rasterbar pkg-config --cflags libtorrent-rasterbar` +LIBS = `PKG_CONFIG_PATH=/home/p2p/p2p-clients/hrktorrent/libtorrent-rasterbar pkg-config --libs libtorrent-rasterbar` -lpthread EXTRA_LIBS = -lpthread -lboost_thread -lssl -lcrypto -lz -lm -lboost_system -lboost_filesystem -lrt #LIBS = -lpthread -- 2.20.1