diff options
author | Remi Collet <remi@remirepo.net> | 2018-06-14 11:53:59 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-06-14 11:53:59 +0200 |
commit | 893b8eba991c0225cafe2d1eb674e1eb758739a0 (patch) | |
tree | 982872e8e508fd2258fa9c32993aca51793987c7 /1717.patch | |
parent | 9a1688671e703770f44158576aa210a90d5c2a4c (diff) |
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
Diffstat (limited to '1717.patch')
-rw-r--r-- | 1717.patch | 22 |
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]) |