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

[glib] Add static build support #16980

Closed
wants to merge 3 commits into from

Conversation

JackBoosY
Copy link
Contributor

Fixes #3409.

@JackBoosY JackBoosY added category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:internal This PR or Issue was filed by the vcpkg team. labels Mar 31, 2021
@Neumann-A
Copy link
Contributor

Neumann-A commented Mar 31, 2021

has this been accepted upstream?

@JackBoosY
Copy link
Contributor Author

@Neumann-A The changes just suitable for vcpkg.

@JackBoosY JackBoosY added the depends:upstream-changes Waiting on a change to the upstream project label Apr 1, 2021
@proTerm
Copy link

proTerm commented May 7, 2021

Hello, any progress on this work?

I'm still getting an error?

Starting package 6/15: glib:x64-windows-static
Building package glib[core]:x64-windows-static...
-- Note: glib only supports dynamic library linkage. Building dynamic library.
CMake Error at scripts/cmake/vcpkg_check_linkage.cmake:47 (message):
  Refusing to build unexpected dynamic library against the static CRT.  If
  this is desired, please configure your triplet to directly request this
  configuration.
Call Stack (most recent call first):
  ports/glib/portfile.cmake:6 (vcpkg_check_linkage)
  scripts/ports.cmake:142 (include)


Error: Building package glib:x64-windows-static failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: glib:x64-windows-static
  Vcpkg version: 2021-05-05-9f849c4c43e50d1b16186ae76681c27b0c1be9d9

@JackBoosY
Copy link
Contributor Author

@proTerm Yeah... we need to wait for upstream approval.
Close this PR temporary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist depends:upstream-changes Waiting on a change to the upstream project info:internal This PR or Issue was filed by the vcpkg team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

glib:x64-windows-static failing
4 participants