Browse Source
Merge pull request #4722 from its-pointless/php-7.4.1-fix
Enable libgd for php
build-on-device
Leonid Plyushch
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
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 |
|
|
|
" |
|
|
|