1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
From 27d46dcca6d74a30cd2df81b3f23977b8131957c Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
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
|