mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
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:
parent
13ed989dd2
commit
c531e9b5ed
@ -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
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user