summaryrefslogtreecommitdiffstats
path: root/61.patch
diff options
context:
space:
mode:
Diffstat (limited to '61.patch')
-rw-r--r--61.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/61.patch b/61.patch
new file mode 100644
index 0000000..19dca69
--- /dev/null
+++ b/61.patch
@@ -0,0 +1,30 @@
+From c69b1c59e15402fad6def1a82c97730831af01b0 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Tue, 20 Aug 2024 10:30:31 +0200
+Subject: [PATCH] this is a c++ ext, use proper linker command
+
+---
+ config.m4 | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/config.m4 b/config.m4
+index da07656..e63353a 100644
+--- a/config.m4
++++ b/config.m4
+@@ -48,7 +48,6 @@ if test "$PHP_PHPY" != "no"; then
+ fi
+
+ PHP_REQUIRE_CXX()
+- PHP_ADD_LIBRARY(stdc++, 1, PHPY_SHARED_LIBADD)
+
+ PHP_SUBST(PHPY_SHARED_LIBADD)
+
+@@ -69,7 +68,7 @@ if test "$PHP_PHPY" != "no"; then
+ phpy_source_files=$(cd $phpy_source_dir && find src -type f -name "*.cc")
+ phpy_source_files="phpy.cc $phpy_source_files"
+
+- PHP_NEW_EXTENSION(phpy, $phpy_source_files , $ext_shared)
++ PHP_NEW_EXTENSION(phpy, $phpy_source_files , $ext_shared,,, cxx)
+
+ AC_MSG_RESULT([$ext_builddir])
+