diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/grpc/00004-link-gdi32-on-windows.patch | |
Diffstat (limited to 'vcpkg/ports/grpc/00004-link-gdi32-on-windows.patch')
| -rw-r--r-- | vcpkg/ports/grpc/00004-link-gdi32-on-windows.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/grpc/00004-link-gdi32-on-windows.patch b/vcpkg/ports/grpc/00004-link-gdi32-on-windows.patch new file mode 100644 index 0000000..cb4ebad --- /dev/null +++ b/vcpkg/ports/grpc/00004-link-gdi32-on-windows.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2f633092ae..43fa8f6d97 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -481,7 +481,7 @@ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/xds AND gRPC_DOWNLOAD_ARC
+ endif()
+
+ if(WIN32)
+- set(_gRPC_ALLTARGETS_LIBRARIES ${_gRPC_ALLTARGETS_LIBRARIES} ws2_32 crypt32)
++ set(_gRPC_ALLTARGETS_LIBRARIES ${_gRPC_ALLTARGETS_LIBRARIES} wsock32 ws2_32 crypt32 gdi32)
+ set(_gRPC_STATIC_WIN32 STATIC)
+ endif()
+
|