summaryrefslogtreecommitdiff
path: root/network/rtorrent
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-10 09:34:37 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-10 16:35:35 -0500
commitc8d8154eab85d966a08fde2c6dfcc949451318f5 (patch)
treed51c2835bff710ba61e159f245bc2b147af8f4ed /network/rtorrent
parent79a313fdbb9065cb1295120c2b4f6fd116169b7e (diff)
downloadslackbuilds-c8d8154eab85d966a08fde2c6dfcc949451318f5.tar.gz
network/rtorrent: Make sure libpthread is linked.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/rtorrent')
-rw-r--r--network/rtorrent/rtorrent.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/rtorrent/rtorrent.SlackBuild b/network/rtorrent/rtorrent.SlackBuild
index ddf86df91d..9b42cef630 100644
--- a/network/rtorrent/rtorrent.SlackBuild
+++ b/network/rtorrent/rtorrent.SlackBuild
@@ -12,7 +12,7 @@
PRGNAM=rtorrent
VERSION=0.9.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -53,6 +53,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+LDFLAGS="-lpthread" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \