SPECS: php.spec - temporary pthread linking fix

glen glen at pld-linux.org
Fri Feb 9 18:25:38 CET 2007


Author: glen                         Date: Fri Feb  9 17:25:38 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- temporary pthread linking fix

---- Files affected:
SPECS:
   php.spec (1.652 -> 1.653) 

---- Diffs:

================================================================
Index: SPECS/php.spec
diff -u SPECS/php.spec:1.652 SPECS/php.spec:1.653
--- SPECS/php.spec:1.652	Fri Feb  9 18:05:00 2007
+++ SPECS/php.spec	Fri Feb  9 18:25:32 2007
@@ -1803,18 +1803,18 @@
 # 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
@@ -2711,6 +2711,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.653  2007/02/09 17:25:32  glen
+- temporary pthread linking fix
+
 Revision 1.652  2007/02/09 17:05:00  glen
 - seems to need newer ming
 - compile failure is from threads-acfix.patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php.spec?r1=1.652&r2=1.653&f=u



More information about the pld-cvs-commit mailing list