autofdo/0001-Build-Static-Library.patch
zhenyu--zhao_admin 1c1bf089d1 [UPDATE] Update AutoFDO toolchain to 0.19-3.20231228
(cherry picked from commit bcd39bd1a3a862649fc733bb70e14a88748554e0)
2024-11-18 15:55:20 +08:00

14 lines
545 B
Diff

diff --git a/third_party/glog/CMakeLists.txt b/third_party/glog/CMakeLists.txt
index 2d00c4d..b6b3a1a 100644
--- a/third_party/glog/CMakeLists.txt
+++ b/third_party/glog/CMakeLists.txt
@@ -34,7 +34,7 @@ include (GenerateExportHeader)
include (GetCacheVariables)
include (GNUInstallDirs)
-option (BUILD_SHARED_LIBS "Build shared libraries" ON)
+option (BUILD_SHARED_LIBS "Build shared libraries" OFF)
option (PRINT_UNSYMBOLIZED_STACK_TRACES
"Print file offsets in traces instead of symbolizing" OFF)
option (WITH_GFLAGS "Use gflags" ON)