-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[curl] build failure or rather configuration problem #19359
Comments
Thanks for reporting! Feature |
Another question: It may not fit here perfectly, but this is the fundamental reason I am playing around with curl: What is the status of issue #17919? |
It is better to ask there, assuming that relevant people are subscribed there. |
Could you please provide what the detailed error you encountered for |
Thanks for the reply regarding the issue status. Regarding the detailed error, there is no error per se. I want to install curl
Normally, you would install "curl[core,ssl]", but that expands to "curl[...,non-http,...]", which is not what I want. And the reason is that the intermediate feature winssl erroneously enables the default features (one of which is non-http). |
@NancyLi1013 Look:
|
Since #18971 has been merged, could you please try to update to the latest vcpkg to rebuild this? |
Looks good, produces good output, I think this issue can be closed. |
Describe the bug
It is surprisingly difficult to build curl on Windows without the default non-http feature.
I think the problem comes from the feature mapping ssl -> winssl -> schannel -> sspi, where only the latter two actually enter the CMake build. The feature winssl does not reference curl[core,schannel], but curl[schannel] (or, in the latest version, does not set default-features to false).
Since this behavior is different from Linux, I guess it counts as a bug.
The text was updated successfully, but these errors were encountered: