X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/199049271c6f9542809d213e2c35fefa96319f81..809be5bbeb80c0f138cde00f71b3c0c29a0502ec:/packages/php/build.sh diff --git a/packages/php/build.sh b/packages/php/build.sh index d3f58e5a..6376ee8c 100644 --- a/packages/php/build.sh +++ b/packages/php/build.sh @@ -35,12 +35,17 @@ ac_cv_func_res_nsearch=no --with-zlib --with-pgsql=shared,$TERMUX_PREFIX --with-pdo-pgsql=shared,$TERMUX_PREFIX +--with-mysqli=shared,$TERMUX_PREFIX/bin/mysql_config +--with-pdo-mysql=shared,$TERMUX_PREFIX/bin/mysql +--with-mysql-sock=$TERMUX_PREFIX/tmp/mysqld.sock --with-apxs2=$TERMUX_PREFIX/bin/apxs --enable-fpm --sbindir=$TERMUX_PREFIX/bin " termux_step_pre_configure () { + #because the new mariadb hides away all these includes inside server subdir + CFLAGS+=" -I$TERMUX_PREFIX/include/mysql/server -I$TERMUX_PREFIX/include/mysql" LDFLAGS+=" -landroid-glob -llog" export PATH=$PATH:$TERMUX_PKG_HOSTBUILD_DIR/sapi/cli/