serenity/Ports/curl
Kenneth Myhra a3073824a9 Ports/curl: Set CMake cache variable HAVE_GETADDRINFO_THREADSAFE to 1
According to the issue https://github.com/curl/curl/issues/12093 the
curl build doesn't properly detect that Serenity has getaddrinfo() and
outputs the following:
---
Performing Test HAVE_H_ERRNO_ASSIGNABLE
CMake Error: try_run() invoked in cross-compiling mode, please set the
following cache variables appropriately:
HAVE_H_ERRNO_ASSIGNABLE_EXITCODE (advanced)
---

Setting the CMake cache variable HAVE_GETADDRINFO_THREADSAFE=1 solves
the mentioned error.

Also see: https://github.com/curl/curl/pull/12094
2023-10-16 09:41:00 +02:00
..
package.sh Ports/curl: Set CMake cache variable HAVE_GETADDRINFO_THREADSAFE to 1 2023-10-16 09:41:00 +02:00