summaryrefslogtreecommitdiff
path: root/php.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php.spec')
-rw-r--r--php.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/php.spec b/php.spec
index 5320664..c46cf99 100644
--- a/php.spec
+++ b/php.spec
@@ -746,9 +746,9 @@ build --libdir=%{_libdir}/php --enable-pcntl --enable-opcache --enable-opcache-f
%endif
--enable-mbstring=shared --with-onig=%{_prefix} --enable-mbregex \
%if %{with_libgd}
- --with-gd=shared,%{_prefix} \
+ --enable-gd=shared --with-external-gd \
%else
- --with-gd=shared \
+ --enable-gd=shared --with-webp --with-jpeg --with-xpm --with-freetype \
%endif
--with-gmp=shared --enable-calendar=shared --enable-bcmath=shared --with-bz2=shared --enable-ctype=shared \
--enable-dba=shared --with-db4=%{_prefix} --with-tcadb=%{_prefix} \
@@ -830,9 +830,9 @@ build --includedir=%{_includedir}/php-zts --libdir=%{_libdir}/php-zts --enable-m
%endif
--enable-mbstring=shared --with-onig=%{_prefix} --enable-mbregex \
%if %{with_libgd}
- --with-gd=shared,%{_prefix} \
+ --enable-gd=shared --with-external-gd \
%else
- --with-gd=shared \
+ --enable-gd=shared --with-webp --with-jpeg --with-xpm --with-freetype \
%endif
--with-gmp=shared --enable-calendar=shared --enable-bcmath=shared --with-bz2=shared --enable-ctype=shared \
--enable-dba=shared --with-db4=%{_prefix} --with-tcadb=%{_prefix} \