Repository navigation
Conversation
vszakats
marked this pull request as draft
September 22, 2024 18:01
vszakats
marked this pull request as ready for review
September 22, 2024 18:11
CURL_USE_PKGCONFIG to cross-MINGWCURL_USE_PKGCONFIG for cross-MINGW
4 tasks done
vszakats
force-pushed
the
cm-pkgconfig-mingw-cross
branch
from
October 24, 2024 21:10
72b1598 to
df6f194
Compare
Enable `CURL_USE_PKGCONFIG` by default for MinGW cross-builds. Note: This may cause fallouts in certain envs where pkg-config picks up native packages. Follow-up to e1ab01d curl#14658 Follow-up to c555ab4 curl#14575
vszakats
force-pushed
the
cm-pkgconfig-mingw-cross
branch
from
October 24, 2024 21:22
df6f194 to
9ec3f70
Compare
Member
Author
|
It's fine to revert this if it causes issues in cross-builds. |
Member
Author
|
This escalated quickly: The workaround is easy, but I tend to think it might be better |
Member
Author
|
Reverted. |
1 task done
Member
Author
|
Adding to this picture that on macOS, CMake false-detects Homebrew Meaning that picking up wrong dependencies isn't unique to |
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
Enable `CURL_USE_PKGCONFIG` by default for MinGW cross-builds. Note: This may cause fallouts in certain envs where `pkg-config` picks up native packages. Follow-up to e1ab01d curl#14658 Follow-up to c555ab4 curl#14575 Closes curl#15005
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
This reverts commit 39c06f7 curl#15005. Combined with most Find modules now supporting `pkg-config` (39c741b curl#15408) this change made mingw-cross builds fragile by picking up OS-native components. Also adding `/usr/include` to the header path, confusing feature detection.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable
CURL_USE_PKGCONFIGby default for MinGW cross-builds.Note: This may cause fallouts in certain envs where
pkg-configpicksup native packages.
Follow-up to e1ab01d #14658
Follow-up to c555ab4 #14575