aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/boringssl/0001-static-gtest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/boringssl/0001-static-gtest.patch')
-rw-r--r--vcpkg/ports/boringssl/0001-static-gtest.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/boringssl/0001-static-gtest.patch b/vcpkg/ports/boringssl/0001-static-gtest.patch
new file mode 100644
index 0000000..bd14bda
--- /dev/null
+++ b/vcpkg/ports/boringssl/0001-static-gtest.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 06ce07e..aa3381a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -485,7 +485,7 @@ if(BUILD_TESTING)
+ # Add minimal googletest targets. The provided one has many side-effects, and
+ # googletest has a very straightforward build.
+ add_library(
+- boringssl_gtest
++ boringssl_gtest STATIC
+ third_party/googletest/googlemock/src/gmock-all.cc
+ third_party/googletest/googletest/src/gtest-all.cc
+ )