mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
fix C++ builds on Mac
This commit is contained in:
parent
a906125fec
commit
33faeb3c19
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue