Skip to content

Commit c778a33

Browse files
committed
[CMake][Release] Statically link libz
This will make the binaries more portable.
1 parent fc655b1 commit c778a33

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/cmake/caches/Release.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,4 @@ set_final_stage_var(CPACK_ARCHIVE_THREADS "0" STRING)
146146
if(${CMAKE_HOST_SYSTEM_NAME} MATCHES "Darwin")
147147
set_final_stage_var(LLVM_USE_STATIC_ZSTD "ON" BOOL)
148148
endif()
149+
set_final_stage_var(ZLIB_USE_STATIC_LIBS "ON" BOOL)

0 commit comments

Comments
 (0)