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

[many ports] Incorrectly excluding dynamic triplets on windows #25149

Closed
4 tasks done
Thomas1664 opened this issue Jun 8, 2022 · 0 comments · Fixed by #26953
Closed
4 tasks done

[many ports] Incorrectly excluding dynamic triplets on windows #25149

Thomas1664 opened this issue Jun 8, 2022 · 0 comments · Fixed by #26953
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@Thomas1664
Copy link
Contributor

Thomas1664 commented Jun 8, 2022

Some ports contain !(windows & !static) (i.e. only static builds on Windows). This is incorrect because they can still build static libraries on these triplets as they don't require strictly just dynamic builds (the correct triplet for that scenario would be x64-windows-dynamic).
The correct way of disallowing DLLs is via vcpkg_check_linkage(ONLY_STATIC_LIBRARY).

The following ports are affected:

  • hexl
  • jsonnet
  • opentelemetry-cpp
  • quantlib
@LilyWangLL LilyWangLL added the category:port-bug The issue is with a library, which is something the port should already support label Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants