mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
fix C++ builds on Mac
This commit is contained in:
parent
a906125fec
commit
33faeb3c19
@ -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
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user