]> git.pld-linux.org Git - packages/php.git/commitdiff
fix build with system gd
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 19 Jun 2019 19:39:51 +0000 (22:39 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 19 Jun 2019 19:39:51 +0000 (22:39 +0300)
refs:
- https://github.com/php/php-src/commit/570d4311b6630bb1fe3378c2d2b216ecda6f1671

php.spec

index 52940c6ea05eb5ccda7013e046c6060c691f54bf..12259490875f9661266b844802613c474ff1f7a2 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -2338,7 +2338,7 @@ for sapi in $sapis; do
        %{?with_pdo_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
        %{?with_pdo_pgsql:--with-pdo-pgsql=shared} \
        %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
-       %{?with_webp:--with-webp-dir=/usr} \
+       %{?with_webp:--with-webp-dir=/usr --with-webp} \
        --without-libexpat-dir \
        %{__enable_disable posix posix shared} \
        --enable-shared \
@@ -2361,7 +2361,8 @@ for sapi in $sapis; do
        %{?with_enchant:--with-enchant=shared,/usr} \
        --with-freetype-dir=shared \
        %{__with_without gettext gettext shared} \
-       %{__with_without gd gd shared%{?with_system_gd:,/usr}} \
+       %{__enable_disable gd gd shared%{?with_system_gd:,/usr}} \
+       %{?with_system_gd:--with-external-gd} \
        --with-gdbm \
        %{__with_without gmp gmp shared} \
        %{?with_imap:--with-imap=shared --with-imap-ssl} \
This page took 0.516483 seconds and 4 git commands to generate.