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 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])
|