Add HTTPS_BACKEND_CURL_LINKED preprocessor AND CMake option.#22
Add HTTPS_BACKEND_CURL_LINKED preprocessor AND CMake option.#22MikuAuahDark wants to merge 3 commits intolove2d:mainfrom
Conversation
Specifying HTTPS_BACKEND_CURL_LINKED means the libcurl will be linked along with the resulting https shared library, which may link with more binaries than necessary. Only enable this option if you have policy of prohibiting shared object loading at runtime or if your platform doesn't support it.
|
Tested this on LÖVE Potion 3.0 Prerelease (took me long enough). It doesn't compile currently, though discussion with @MikuAuahDark has shown there's two needed https://github.com/TurtleP/lua-https/blob/linked_curl/src/generic/CurlClient.cpp#L15-L22 This will allow it to build an run, but the homebrew consoles I run this on do not come with any kind of CA Certificates. I could either embed an extracted one for all platforms or (and likely not preferred) disable EDIT: |
Static Linking Fixes
|
Closed in favor of #30. |
Specifying HTTPS_BACKEND_CURL_LINKED means the libcurl will be linked along with the resulting https shared library, which may link with more binaries than necessary.
Only enable this option if you have policy of prohibiting shared object loading at runtime or if your platform doesn't support it.
Fixes #16