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 }