Permalink
Browse files

Looks like we need to explicity add libstdc++ on recent linux' too, l…

…ike fedora 14 and ubuntu 11

This fixes build failures for ext/intl and several pecl exts
  • Loading branch information...
1 parent 13ed989 commit c531e9b5edfd2b6e06f6422b6db1b61ac319ba22 @bjori bjori committed Dec 27, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −5 acinclude.m4
View
@@ -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
])

0 comments on commit c531e9b

Please sign in to comment.