Revert "Update build.sh"
This reverts commit f55b366ed2a8d43885f8e5fb9d67be7ec11c07e2.
This commit is contained in:
parent
9c7b8bf93a
commit
e68854f9b4
@ -48,14 +48,6 @@ ac_cv_func_res_nsearch=no
|
||||
"
|
||||
|
||||
termux_step_pre_configure () {
|
||||
# Replace chrooted perl with system perl
|
||||
sed -i 's/\/data\/data\/com\.termux\/files\/usr\/bin\/perl/\/usr\/bin\/perl/' $TERMUX_PREFIX/bin/apxs
|
||||
sed -i 's/\/data\/data\/com\.termux\/files\/usr\/bin\/perl/\/usr\/bin\/perl/' $TERMUX_PREFIX/bin/curl-config
|
||||
sed -i 's/\/home\/fornwall\/.termux-build\/apr\/tmp/\/home\/builder\/.termux-build\/php\/build/' $TERMUX_PREFIX/bin/apr-1-config
|
||||
rm $TERMUX_PREFIX/bin/pg_config
|
||||
|
||||
#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/
|
||||
|
Loading…
Reference in New Issue
Block a user