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 13ed989dd2
commit c531e9b5ed

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_ADD_LIBRARY(stdc++)
php_cxx_done=yes
fi
])