build: set HAVE_WRITABLE_ARGV for Apple cross-builds

Enable this feature for Apple cross-builds to match native macOS builds.

Closes #16338
This commit is contained in:
Viktor Szakats 2025-02-14 17:41:09 +01:00
parent 2533df6239
commit 876db1070b
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 12 additions and 5 deletions

View file

@ -546,6 +546,7 @@ if(_CURL_QUICK_DETECT)
elseif(APPLE)
set(HAVE_EVENTFD 0)
set(HAVE_GETPASS_R 0)
set(HAVE_WRITABLE_ARGV 1)
set(HAVE_SENDMMSG 0)
endif()
endif()