summaryrefslogtreecommitdiffstats
path: root/1717.patch
diff options
context:
space:
mode:
Diffstat (limited to '1717.patch')
-rw-r--r--1717.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/1717.patch b/1717.patch
new file mode 100644
index 0000000..506c7ca
--- /dev/null
+++ b/1717.patch
@@ -0,0 +1,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])