Fix Debug build when Azure Presigned and Curl managers are disabled
- Dec 30, 2024
-
-
Morten Ofstad authored
-
Morten Ofstad authored
Make sure we include the Curl backend if needed by any enabled IOManager. Change the DISABLE_CURL_IOMANAGER to effectively work like 'DISABLE_HTTP_IOMANAGER' which is what it really should have been from the start.
-
-
When DISABLE_AZURE_PRESIGNED_IOMANAGER / DISABLE_CURL_IOMANAGER are set to on, Debug build fails while Release builds fine. This seems to be caused by LTO being enabled by default for Release builds and disabled for Debug ones. The actual issue is that additional source files have to be marked as "header file only" for linking to succeed.
-
AWS compilation and compilation of IOManagerDmsFactory started to depend on IOManagerCurl after DMS Factory code introduction, but the setting was not updated. Also the description is updated to better reflect purpose of the setting.
-