summaryrefslogtreecommitdiffstats
path: root/php56.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php56.spec')
-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 \