From 1ee9676ad35d080f852a6030f52d6eced9e41a98 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 5 Mar 2013 12:26:58 +0100 Subject: [PATCH] iftop: fix build Signed-off-by: Stephan Raue --- packages/debug/iftop/build | 4 +++- packages/debug/iftop/meta | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/debug/iftop/build b/packages/debug/iftop/build index 1f9b576fd8..bb6dee2597 100755 --- a/packages/debug/iftop/build +++ b/packages/debug/iftop/build @@ -22,7 +22,9 @@ . config/options $1 -export LIBS="-ltinfo" +#strip_lto + +export LIBS="-lpthread -ltinfo -lusb-1.0" cd $PKG_BUILD diff --git a/packages/debug/iftop/meta b/packages/debug/iftop/meta index 6673478a60..6ad4fefc5c 100644 --- a/packages/debug/iftop/meta +++ b/packages/debug/iftop/meta @@ -25,8 +25,8 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://htop.sourceforge.net/" PKG_URL="http://www.ex-parrot.com/pdw/iftop/download/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="ncurses libpcap" -PKG_BUILD_DEPENDS="toolchain ncurses libpcap" +PKG_DEPENDS="ncurses" +PKG_BUILD_DEPENDS="toolchain ncurses libusb libpcap" PKG_PRIORITY="optional" PKG_SECTION="debug/tools" PKG_SHORTDESC="iftop: display bandwidth usage on an interface"