summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-12-30 18:36:56 +0100
committerRemi Collet <fedora@famillecollet.com>2013-12-30 18:36:56 +0100
commit26ab83d0b95b08bcce085f8b1ab2afdb1b7fedfe (patch)
tree50b23dcd8ed3b04b1ba775b1aa95c234addbf3ef
parent94e1a5955b05ce5b1e62686543f4c880fff5c730 (diff)
php-pecl-swoole: fix php 5.3 build
-rw-r--r--php-pecl-swoole.spec4
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