diff options
author | Remi Collet <remi@remirepo.net> | 2024-08-20 12:55:48 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-08-20 12:55:48 +0200 |
commit | 1d73af62666d73ff374d525286d83c5f05032063 (patch) | |
tree | 0eb39a4e74d17e3b832760322feea6c734c0cae4 /61.patch |
initial package
open https://github.com/swoole/phpy/pull/61 use cxx linker
open https://github.com/swoole/phpy/pull/62 add LICENSE
open https://github.com/swoole/phpy/issues/63 broken with python 3.6
open https://github.com/swoole/phpy/pull/64 report python version
Diffstat (limited to '61.patch')
-rw-r--r-- | 61.patch | 30 |
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]) + |