on libc++ arches (otherwise the nonexistent -lstdc++ caused libtool to generate a static library instead of shared .so module). ok robert@
15 lines
401 B
Plaintext
15 lines
401 B
Plaintext
$OpenBSD: patch-aclocal_m4,v 1.1 2017/04/26 08:15:05 sthen Exp $
|
|
--- aclocal.m4.orig.port Tue Feb 14 13:50:47 2017
|
|
+++ aclocal.m4 Mon Apr 24 22:37:15 2017
|
|
@@ -762,7 +762,9 @@ AC_DEFUN([PHP_REQUIRE_CXX],[
|
|
if test -z "$php_cxx_done"; then
|
|
AC_PROG_CXX
|
|
AC_PROG_CXXCPP
|
|
- PHP_ADD_LIBRARY(stdc++)
|
|
+ for i in $LIBCXX; do
|
|
+ PHP_ADD_LIBRARY($i)
|
|
+ done
|
|
php_cxx_done=yes
|
|
fi
|
|
])
|