diff options
| author | Hongxu Xu <hox@microsoft.com> | 2019-04-21 17:01:16 +0800 |
|---|---|---|
| committer | Hongxu Xu <hox@microsoft.com> | 2019-04-21 17:01:16 +0800 |
| commit | 49c282da3284bbf14d161c2d6275098b2e4121f2 (patch) | |
| tree | 9dfd043da43750553abb04fb0122f77bc28c4928 | |
| parent | 23ae7eb168af8817bec96c1233f96b86b1aad2bd (diff) | |
| download | vcpkg-49c282da3284bbf14d161c2d6275098b2e4121f2.tar.gz vcpkg-49c282da3284bbf14d161c2d6275098b2e4121f2.zip | |
Removed setting CMAKE_FIND_LIBRARY_SUFFIXES to fix configure error in Windows
| -rw-r--r-- | ports/grpc/00002-static-linking-in-linux.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/grpc/00002-static-linking-in-linux.patch b/ports/grpc/00002-static-linking-in-linux.patch index c3b9b95aa..4c004d16b 100644 --- a/ports/grpc/00002-static-linking-in-linux.patch +++ b/ports/grpc/00002-static-linking-in-linux.patch @@ -7,8 +7,8 @@ index 3839e22..91720a9 100644 add_definitions(-DPB_FIELD_32BIT)
+if (gRPC_STATIC_LINKING)
++ # Force to static link
+ set(CMAKE_EXE_LINKER_FLAGS "-Bstatic")
-+ set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
+endif()
+
if (MSVC)
|
