summaryrefslogtreecommitdiff
path: root/php.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-08-19 12:16:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-08-19 12:16:55 +0000
commit40bc14a20a11fb2fad1766035fb3686635af960f (patch)
tree5eabe4095cb16459d50e25f8604f1744a4325ed4 /php.spec
parent61b7651dfbcbbf231989d7a4baf4c30cb291da4e (diff)
automatic import of php
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} \