NOTE: We no longer need the patch file patches/curl-7.83.1/curl_dns_block_workaround.patch, libCurl now support to quick exit at the cost of a possible leak for the issue "Multi perform hangs waiting for threaded resolver":
curl_easy_setopt(curl, CURLOPT_QUICK_EXIT, 1L)
#jira UE-197640
#review @michael.kirzinger @rafa.lecina @zousar.shaker
[CL 29180909 by lorry li in 5.3 branch]
- Wrapped the build in try/finally to always clean up of the build directory.
- Fixed target platform construction to include the target architecture.
- Fixed target platform construction to log an error on failure instead of crashing on a null dereference later.
- Fixed configuration name comparisons to be case-insensitive.
- Added an optional BinOutputPath param to match LibOutputPath.
- Changed to an empty default MakeTarget because CMake was not generating a target with the previous default name.
- Changed BuildTargetLib to use cmake --build instead of implementing custom build logic for every target platform.
- Changed Linux to use CMake and make from the path instead of attempting to use the Mac binaries.
- Simplified the TargetPlatform interface to remove a lot of boilerplate code from the implementations.
#jira none
#rb Brandon.Schaefer
[CL 14439522 by devin doucette in ue5-main branch]