From 4abc2157e0bcc3770c68bc13f6e42ed17ee7667e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 29 Jul 2024 11:52:09 +0200 Subject: initial package open https://github.com/pinpoint-apm/pinpoint-c-agent/issues/656 license open https://github.com/pinpoint-apm/pinpoint-c-agent/pull/655 use cxx --- pinpoint_php-cxx.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pinpoint_php-cxx.patch (limited to 'pinpoint_php-cxx.patch') diff --git a/pinpoint_php-cxx.patch b/pinpoint_php-cxx.patch new file mode 100644 index 0000000..1eb0f3a --- /dev/null +++ b/pinpoint_php-cxx.patch @@ -0,0 +1,30 @@ +From 27d46dcca6d74a30cd2df81b3f23977b8131957c Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Mon, 29 Jul 2024 10:28:12 +0200 +Subject: [PATCH] This is cxx extension + +--- + config.m4 | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/config.m4 b/config.m4 +index 2dbfbff9..fcbc2aa6 100644 +--- a/config.m4 ++++ b/config.m4 +@@ -11,7 +11,6 @@ if test "$PHP_PINPOINT_PHP" != "no"; the + + PHP_REQUIRE_CXX() + PHP_SUBST(PINPOINT_PHP_SHARED_LIBADD) +- PHP_ADD_LIBRARY(stdc++, 1, PINPOINT_PHP_SHARED_LIBADD) + PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/common/include) + PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/common/jsoncpp/include) + PHP_ADD_INCLUDE(PHP_EXT_SRCDIR()/common/jsoncpp/include) +@@ -47,5 +46,5 @@ if test "$PHP_PINPOINT_PHP" != "no"; the + + PINPOINT_PHP_SHARED_LIBADD="$PINPOINT_PHP_SHARED_LIBADD -lrt" + +- PHP_NEW_EXTENSION(pinpoint_php,$PINPOINT_SRCS, $ext_shared) +-fi +\ No newline at end of file ++ PHP_NEW_EXTENSION(pinpoint_php,$PINPOINT_SRCS, $ext_shared,,, cxx) ++fi -- cgit