From ac4ce897c5f796244f9292b3aa4853951d62201a Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Thu, 31 Oct 2013 19:42:10 -0400 Subject: [PATCH] Fix pthread linking errors --- PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index a6dd404..0d05535 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,7 +8,7 @@ pkgver=1.3.6 #Should match `grep "PACKAGE_VERSION" ccnet/Makefile` _seafilever=2.0.5 #The release number for the arch package, as fixes are added to the PKGBUILD, the release number will increase -pkgrel=1 +pkgrel=2 # The description of the package, should be about 80 characters long (one line) pkgdesc="A framework for writing networked applications in C." @@ -52,7 +52,7 @@ prepare () { build () { cd "$srcdir/ccnet-$_seafilever" ./autogen.sh - ./configure --enable-server --prefix=/usr PYTHON=/usr/bin/python2 + CFLAGS="-lpthread" ./configure --enable-server --prefix=/usr PYTHON=/usr/bin/python2 make -j1 }