fix C++ builds on Mac

This commit is contained in:
Stanislav Malyshev 2010-05-25 01:25:51 +00:00
parent a906125fec
commit 33faeb3c19

View File

@ -768,6 +768,11 @@ 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
])