Fix pthread linking errors
This commit is contained in:
parent
95f90fd150
commit
ac4ce897c5
4
PKGBUILD
4
PKGBUILD
@ -8,7 +8,7 @@ pkgver=1.3.6 #Should match `grep "PACKAGE_VERSION" ccnet/Makefile`
|
|||||||
_seafilever=2.0.5
|
_seafilever=2.0.5
|
||||||
|
|
||||||
#The release number for the arch package, as fixes are added to the PKGBUILD, the release number will increase
|
#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)
|
# The description of the package, should be about 80 characters long (one line)
|
||||||
pkgdesc="A framework for writing networked applications in C."
|
pkgdesc="A framework for writing networked applications in C."
|
||||||
@ -52,7 +52,7 @@ prepare () {
|
|||||||
build () {
|
build () {
|
||||||
cd "$srcdir/ccnet-$_seafilever"
|
cd "$srcdir/ccnet-$_seafilever"
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure --enable-server --prefix=/usr PYTHON=/usr/bin/python2
|
CFLAGS="-lpthread" ./configure --enable-server --prefix=/usr PYTHON=/usr/bin/python2
|
||||||
make -j1
|
make -j1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user