SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
lang/php/7.4/patches/patch-build_php_m4
Normal file
16
lang/php/7.4/patches/patch-build_php_m4
Normal file
|
@ -0,0 +1,16 @@
|
|||
- don't hardcode libstdc++
|
||||
|
||||
Index: build/php.m4
|
||||
--- build/php.m4.orig
|
||||
+++ build/php.m4
|
||||
@@ -758,7 +758,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
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue