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 ddf95da commit 6238cf5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 1 addition & 5 deletions acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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
])
Expand Down

0 comments on commit 6238cf5

Please sign in to comment.