diff options
author | Stanislav Malyshev <stas@php.net> | 2010-05-25 01:25:51 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2010-05-25 01:25:51 +0000 |
commit | 33faeb3c194cc23e7cb2e8d5513e53724aa780d0 (patch) | |
tree | 641109b9c10a9c0dd043ca0f217c700d32604eec /acinclude.m4 | |
parent | a906125fec6aab542bf40a74a5995e688550fad5 (diff) | |
download | php-git-33faeb3c194cc23e7cb2e8d5513e53724aa780d0.tar.gz |
fix C++ builds on Mac
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 6b009a5ee2..1444b82ae2 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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 ]) |