From 893b8eba991c0225cafe2d1eb674e1eb758739a0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 14 Jun 2018 11:53:59 +0200 Subject: update to 4.0.0 rename to php-pecl-swoole4 raise dependency on PHP 7.1 add patch to ensure g++ is used a linktime from https://github.com/swoole/swoole-src/pull/1717 --- 1717.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 1717.patch (limited to '1717.patch') 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 +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]) -- cgit