Commit 9881efaf authored by Natanael Copa's avatar Natanael Copa

main/php: explicit link to pthread

fixes #183
parent 33e57ec4
......@@ -3,7 +3,7 @@
pkgname=php
pkgver=5.2.10
_suhosinver=${pkgver}-0.9.7
pkgrel=3
pkgrel=4
pkgdesc="The PHP language runtime engine"
url="http://www.php.net/"
license="PHP-3"
......@@ -159,6 +159,9 @@ build() {
--with-pic \
$phpextensions
# see #183
sed -i -e '/^BUILD_CGI/s/$(LDFLAGS)/-lpthread $(LDFLAGS)/' Makefile
make || return 1
make -j1 INSTALL_ROOT="$pkgdir" install || return 1
# fix the extension_dir
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment