From 26ab83d0b95b08bcce085f8b1ab2afdb1b7fedfe Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 30 Dec 2013 18:36:56 +0100 Subject: php-pecl-swoole: fix php 5.3 build --- php-pecl-swoole.spec | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'php-pecl-swoole.spec') 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 -- cgit