diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-12-30 18:36:56 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-12-30 18:36:56 +0100 |
commit | 26ab83d0b95b08bcce085f8b1ab2afdb1b7fedfe (patch) | |
tree | 50b23dcd8ed3b04b1ba775b1aa95c234addbf3ef | |
parent | 94e1a5955b05ce5b1e62686543f4c880fff5c730 (diff) |
php-pecl-swoole: fix php 5.3 build
-rw-r--r-- | php-pecl-swoole.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/php-pecl-swoole.spec b/php-pecl-swoole.spec index 6010c66..1649874 100644 --- a/php-pecl-swoole.spec +++ b/php-pecl-swoole.spec @@ -103,10 +103,14 @@ EOF %build +# --enable-async-mysql requires mysqlnd, so php >= 5.4 + peclbuild() { %configure \ --with-swoole \ +%if "%{php_version}" > "5.4" --enable-async-mysql \ +%endif --enable-msgqueue \ --with-php-config=$1 # needed as archive contains some .o |