From 92e8c0a1e6e598ec37db3e499e81dc02909ad7a0 Mon Sep 17 00:00:00 2001 From: its-pointless Date: Tue, 31 Dec 2019 07:55:33 +1100 Subject: [PATCH] php: re-enable libgd --- packages/php/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/php/build.sh b/packages/php/build.sh index 13c98ecc6..2f7ed8b46 100644 --- a/packages/php/build.sh +++ b/packages/php/build.sh @@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="PHP-3.0" TERMUX_PKG_VERSION=7.4.1 TERMUX_PKG_SRCURL=https://secure.php.net/distributions/php-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=561bb866bdd509094be00f4ece7c3543ec971c4d878645ee81437e291cffc762 +TERMUX_PKG_REVISION=1 # Build native php for phar to build (see pear-Makefile.frag.patch): TERMUX_PKG_HOSTBUILD=true # Build the native php without xml support as we only need phar: @@ -28,6 +29,7 @@ ac_cv_func_res_nsearch=no --with-curl=$TERMUX_PREFIX --with-openssl=$TERMUX_PREFIX --with-readline=$TERMUX_PREFIX +--with-iconv-dir=$TERMUX_PREFIX --with-zlib --with-pgsql=shared,$TERMUX_PREFIX --with-pdo-pgsql=shared,$TERMUX_PREFIX @@ -37,6 +39,8 @@ ac_cv_func_res_nsearch=no --with-apxs2=$TERMUX_PKG_TMPDIR/apxs-wrapper.sh --with-iconv=$TERMUX_PREFIX --enable-fpm +--enable-gd +--with-external-gd --with-external-pcre --sbindir=$TERMUX_PREFIX/bin "