File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -391,11 +391,20 @@ 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
394+
395+ # workarounds for musl 1.2.5, PHP 8.4
396+ export php_cv_type_cookie_off64_t=no
395397 # we don't need these but these also no longer use off64_t
396398 # define them in case someone wants to build an extension which needs them
397399 export php_cv_func_pread=yes
398400 export php_cv_func_pwrite=yes
401+
402+ # workarounds for musl 1.2.5, <= PHP 8.3
403+ export cookie_io_functions_use_off64_t=no
404+ # we don't need these but these also no longer use off64_t
405+ # define them in case someone wants to build an extension which needs them
406+ export ac_cv_pread=yes
407+ export ac_cv_pwrite=yes
399408 write_out " INFO" " Cross-compiling for Android ARMv8 (aarch64)"
400409 # TODO: add cross-compile for aarch64 platforms (ios, rpi)
401410 else
You can’t perform that action at this time.
0 commit comments