aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/skia/use-pkgconfig-to-find-gl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/skia/use-pkgconfig-to-find-gl.patch')
-rw-r--r--vcpkg/ports/skia/use-pkgconfig-to-find-gl.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/skia/use-pkgconfig-to-find-gl.patch b/vcpkg/ports/skia/use-pkgconfig-to-find-gl.patch
new file mode 100644
index 0000000..0f82b71
--- /dev/null
+++ b/vcpkg/ports/skia/use-pkgconfig-to-find-gl.patch
@@ -0,0 +1,15 @@
+diff --git a/BUILD.gn b/BUILD.gn
+index ce41442..9a90d00 100644
+--- a/BUILD.gn
++++ b/BUILD.gn
+@@ -1007,7 +1007,9 @@ optional("gpu") {
+ "src/gpu/ganesh/gl/glx/GrGLMakeGLXInterface.cpp",
+ "src/gpu/ganesh/gl/glx/GrGLMakeNativeInterface_glx.cpp",
+ ]
+- libs += [ "GL" ]
++ deps += [
++ "//third_party/gl"
++ ]
+ } else if (is_mac) {
+ sources += [ "src/gpu/ganesh/gl/mac/GrGLMakeNativeInterface_mac.cpp" ]
+ } else if (is_ios) {