Skip to content

Commit 06ecda0

Browse files
committed
Fix Android build on Musl 1.2.5
Deprecations in a patch release, really???
1 parent 0f8c6b7 commit 06ecda0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compile.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,11 @@ if [ "$IS_CROSSCOMPILE" == "yes" ]; then
391391
DO_STATIC="yes"
392392
OPENSSL_TARGET="linux-aarch64"
393393
export ac_cv_func_fnmatch_works=yes #musl should be OK
394+
export php_cv_type_cookie_off64_t=no #musl 1.2.5
395+
#we don't need these but these also no longer use off64_t
396+
#define them in case someone wants to build an extension which needs them
397+
export php_cv_func_pread=yes
398+
export php_cv_func_pwrite=yes
394399
write_out "INFO" "Cross-compiling for Android ARMv8 (aarch64)"
395400
#TODO: add cross-compile for aarch64 platforms (ios, rpi)
396401
else

0 commit comments

Comments
 (0)