Fix pthread linking errors

This commit is contained in:
Aaron Lindsay 2013-10-31 19:42:10 -04:00
parent 95f90fd150
commit ac4ce897c5

View File

@ -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
}