Repository navigation
Conversation
This change resolves "ignoring duplicate libraries" linker warnings on macOS.
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/31504. ReviewsSee the guideline for information on the review process. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
I saw this new feature recently as well and had the opposite thought.. I'm not sure how much I trust CMake's linker feature logic as it seems to be based on the target as opposed to the linker itself. I have a slight preference for setting this to the old policy just so that we're always in control. As long as dupe libs are just warnings, I don't see any harm. |
|
Also not sure. Seems like this was introduced in 3.29, but then the behaviour was changed again 2 versions later in 3.31. Would we be opting into that as well? Then, depending on the version, we'd potentially have CMake behaving 3 different ways at link time. Maybe we should wait on doing anything until they've figured out what they are doing. |
This PR resolves "ignoring duplicate libraries" linker warnings on macOS: