Skip to content

Commit 71c3308

Browse files
github-actions[bot]am11carlossanlop
authored
[release/9.0-preview7] Ensure linux uses zlib-ng and not system ZLIB (#105354)
* Update extra_libs.cmake * Apply alternate suggestion --------- Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com> Co-authored-by: Carlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
1 parent 9fa7d75 commit 71c3308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/native/libs/System.IO.Compression.Native/extra_libs.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ macro(append_extra_compression_libs NativeLibsExtra)
1616
# 'zlib' represents our in-tree zlib, and is used in all other platforms
1717
# that don't meet any of the previous special requirements, like most
1818
# regular Unix and Windows builds.
19-
list(APPEND ZLIB_LIBRARIES $<IF:$<BOOL:CLR_CMAKE_USE_SYSTEM_ZLIB>,z,zlib>)
19+
list(APPEND ZLIB_LIBRARIES $<IF:$<BOOL:${CLR_CMAKE_USE_SYSTEM_ZLIB}>,z,zlib>)
2020
endif ()
2121
list(APPEND ${NativeLibsExtra} ${ZLIB_LIBRARIES})
2222

0 commit comments

Comments
 (0)