Looks like we need to explicity add libstdc++ on recent linux' too, like fedora 14 and ubuntu 11

This fixes build failures for ext/intl and several pecl exts
This commit is contained in:
Hannes Magnusson 2011-12-27 13:53:11 +00:00
parent ddf95da798
commit 6238cf5a7a
2 changed files with 5 additions and 5 deletions

4
NEWS
View File

@ -7,6 +7,10 @@ PHP NEWS
- CLI SAPI:
. Fixed bug #60591 (Memory leak when access a non-exists file). (Laruence)
- Intl:
. Fixed build on Fedora 15 / Ubuntu 11. (Hannes)
22 Dec 2011, PHP 5.4.0 RC4
- Core:
. Added max_input_vars directive to prevent attacks based on hash collisions

View File

@ -762,11 +762,7 @@ AC_DEFUN([PHP_REQUIRE_CXX],[
if test -z "$php_cxx_done"; then
AC_PROG_CXX
AC_PROG_CXXCPP
case $host_alias in
*darwin*)
PHP_ADD_LIBRARY(stdc++)
;;
esac
php_cxx_done=yes
fi
])