php: re-enable libgd

This commit is contained in:
its-pointless 2019-12-31 07:55:33 +11:00
parent d576d71ded
commit 92e8c0a1e6

View File

@ -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
"