Skip to content

Commit cb8dde8

Browse files
am11carlossanlop
andauthored
Ensure linux uses zlib-ng and not system ZLIB (#105352)
* Update extra_libs.cmake * Apply alternate suggestion --------- Co-authored-by: Carlos Sánchez López <[email protected]>
1 parent c5b2dcd commit cb8dde8

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)