Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade libcurl to latest. #2280

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Conversation

tritao
Copy link
Contributor

@tritao tritao commented Oct 2, 2024

What does this PR do?

Upgrades libcurl to curl/curl@0acf0bc.

Main motivation is to get the Cosmopolitan build to work, since old libcurl is not working with it.

Freshly CMake-generated config-linux.h with some manual changes for Premake-defined CA paths and mbedTLS defines.

Using the same configs as previously, just some minor adjustments for some necessary new defines.

How does this PR change Premake's behavior?

Hopefully no behaviour changes.

Anything else we should know?

There were some minor changes around progress function signatures, now it uses CURLOPT_XFERINFOFUNCTION, while keeping backwards compatibility with older curl versions.

@tritao tritao force-pushed the upgrade-curl branch 6 times, most recently from ef51145 to 0461b3e Compare October 2, 2024 18:29
@tritao tritao marked this pull request as ready for review October 2, 2024 18:34
src/host/curl_utils.h Outdated Show resolved Hide resolved
@samsinsane samsinsane merged commit 0ffdeee into premake:master Oct 3, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants