vcpkg/ports/libphonenumber/remove-shared-lib.patch

14 lines
426 B
Diff

diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index e5c5a5f..386b159 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -424,7 +424,7 @@ if (${BUILD_GEOCODER} STREQUAL "ON")
endif ()
# Build a shared library (with -fPIC).
-set (BUILD_SHARED_LIB true)
+set (BUILD_SHARED_LIB false)
if (${USE_RE2} STREQUAL "ON")
# RE2 is not always available as a shared library (e.g: package provided by