]> git.pld-linux.org Git - packages/php.git/commitdiff
- temporary pthread linking fix
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 9 Feb 2007 17:25:32 +0000 (17:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.653

php.spec

index f42b5629070abd0f172d640c2585ac243d7e7950..c14e3c34760ab81c4f81a55f456e6e526eeb1b77 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -1802,18 +1802,18 @@ done
 # FCGI
 %if %{with fcgi}
 cp -af php_config.h.fcgi main/php_config.h
-%{__make} sapi/cgi/php -f Makefile.fcgi
+%{__make} sapi/cgi/php -f Makefile.fcgi LDFLAGS=-lpthread
 cp -r sapi/cgi sapi/fcgi
 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
 %endif
 
 # CGI
 cp -af php_config.h.cgi main/php_config.h
-%{__make} sapi/cgi/php -f Makefile.cgi
+%{__make} sapi/cgi/php -f Makefile.cgi LDFLAGS=-lpthread
 
 # CLI
 cp -af php_config.h.cli main/php_config.h
-%{__make} sapi/cli/php -f Makefile.cli
+%{__make} sapi/cli/php -f Makefile.cli LDFLAGS=-lpthread
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.048203 seconds and 4 git commands to generate.