Skip to content

Commit

Permalink
Looks like we need to explicity add libstdc++ on recent linux' too, l…
Browse files Browse the repository at this point in the history
…ike fedora 14 and ubuntu 11

This fixes build failures for ext/intl and several pecl exts
  • Loading branch information
bjori committed Dec 27, 2011
1 parent 13ed989 commit c531e9b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions acinclude.m4
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -762,11 +762,7 @@ AC_DEFUN([PHP_REQUIRE_CXX],[
if test -z "$php_cxx_done"; then if test -z "$php_cxx_done"; then
AC_PROG_CXX AC_PROG_CXX
AC_PROG_CXXCPP AC_PROG_CXXCPP
case $host_alias in PHP_ADD_LIBRARY(stdc++)
*darwin*)
PHP_ADD_LIBRARY(stdc++)
;;
esac
php_cxx_done=yes php_cxx_done=yes
fi fi
]) ])
Expand Down

0 comments on commit c531e9b

Please sign in to comment.