summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-05-29 11:11:49 +0200
committerRemi Collet <fedora@famillecollet.com>2016-05-29 11:11:49 +0200
commitd43ea1820f1228bc6307322b17000a35d8a3faad (patch)
tree11e85a7c31c54508ff243c6d6f7081d4e2aacbda
parent6e02ac7328d8e22c3f4bbe03dbad96da8744c7bb (diff)
PHP 5.5 + 5.6, fix build with gd 2.2
-rw-r--r--php56.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/php56.spec b/php56.spec
index 3b85d1f..a205e39 100644
--- a/php56.spec
+++ b/php56.spec
@@ -1153,9 +1153,6 @@ ln -sf ../configure
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-xpm-dir=%{_prefix} \
-%if %{with_vpx}
- --with-vpx-dir=%{_prefix} \
-%endif
--enable-gd-native-ttf \
--with-t1lib=%{_prefix} \
--without-gdbm \
@@ -1203,6 +1200,9 @@ build --libdir=%{_libdir}/php \
--with-gd=shared,%{_prefix} \
%else
--with-gd=shared \
+%if %{with_vpx}
+ --with-vpx-dir=%{_prefix} \
+%endif
%endif
--with-gmp=shared \
--enable-calendar=shared \
@@ -1345,6 +1345,9 @@ build --includedir=%{_includedir}/php-zts \
--with-gd=shared,%{_prefix} \
%else
--with-gd=shared \
+%if %{with_vpx}
+ --with-vpx-dir=%{_prefix} \
+%endif
%endif
--with-gmp=shared \
--enable-calendar=shared \