mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
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
This commit is contained in:
parent
007d7cdd53
commit
a3073824a9
Notes:
sideshowbarker
2024-07-17 03:05:16 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/a3073824a9 Pull-request: https://github.com/SerenityOS/serenity/pull/21460 Reviewed-by: https://github.com/gmta ✅
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ configure() {
|
|||
-DCURL_DISABLE_NTLM='ON' \
|
||||
-DCURL_DISABLE_SOCKETPAIR='ON' \
|
||||
-DCURL_DISABLE_TESTS='ON' \
|
||||
-DCURL_HIDDEN_SYMBOLS='OFF'
|
||||
-DCURL_HIDDEN_SYMBOLS='OFF' \
|
||||
-DHAVE_GETADDRINFO_THREADSAFE=1
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Reference in a new issue