php: run buildconf after extracting sources

Needed for generating configure script.

+ added re2c package for Docker image
This commit is contained in:
Leonid Pliushch 2020-04-14 23:17:44 +03:00
parent 843407d3b8
commit c85f419708
2 changed files with 7 additions and 0 deletions

View File

@ -49,6 +49,10 @@ ac_cv_func_res_nsearch=no
--sbindir=$TERMUX_PREFIX/bin
"
termux_step_post_extract_package() {
./buildconf --force
}
termux_step_pre_configure() {
LDFLAGS+=" -landroid-glob -llog"

View File

@ -84,6 +84,9 @@ PACKAGES+=" ruby"
PACKAGES+=" libc-ares-dev"
PACKAGES+=" libicu-dev"
# Needed by php.
PACKAGES+=" re2c"
# Needed by package rust.
PACKAGES+=" libssl-dev" # Needed to build Rust