summaryrefslogtreecommitdiffstats
path: root/php55.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php55.spec')
-rw-r--r--php55.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/php55.spec b/php55.spec
index d22b3a7..a148b0c 100644
--- a/php55.spec
+++ b/php55.spec
@@ -1154,9 +1154,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 \
@@ -1202,6 +1199,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 \
@@ -1349,6 +1349,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 \