blob: 506c7cae8bbb8dc6109deeabd71d269500334f92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From 2835548fb1ddddcce082cabaa24efa17c2fada95 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Thu, 14 Jun 2018 11:21:39 +0200
Subject: [PATCH] ensure C++ is used for link command
---
config.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.m4 b/config.m4
index 9664ed075..0b8ced436 100644
--- a/config.m4
+++ b/config.m4
@@ -630,7 +630,7 @@ if test "$PHP_SWOOLE" != "no"; then
LDFLAGS="$LDFLAGS -lboost_context"
fi
- PHP_NEW_EXTENSION(swoole, $swoole_source_file, $ext_shared)
+ PHP_NEW_EXTENSION(swoole, $swoole_source_file, $ext_shared,,, cxx)
PHP_ADD_INCLUDE([$ext_srcdir])
PHP_ADD_INCLUDE([$ext_srcdir/include])
|