vcpkg/ports/skia/core-opengl32.patch
Kai Pastor 01350d0b49
[skia] Misc fixes (#28971)
* Handle core opengl32 dependency

* Fix regressions for legacy config

* Transform frameworks and SDK during build

* Fix python3 configuration

* Update versions

* Drop unused dep

* Fix python3 again
2023-01-18 13:38:56 -08:00

15 lines
395 B
Diff

diff --git a/BUILD.gn b/BUILD.gn
index 71d19dd..3691123 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1393,6 +1393,9 @@ skia_component("skia") {
defines = [ "SK_HAS_ANDROID_CODEC" ]
libs = []
+ if (is_win && target_cpu != "arm64" && !skia_enable_winuwp) {
+ libs += [ "OpenGL32.lib" ] # for src/utils/win/SkWGL_win.cpp
+ }
if (skia_enable_sksl) {
deps += [ ":dehydrate_sksl" ]