diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets index 19c6ce7a4b376..d2696ffbcad6d 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets @@ -24,7 +24,7 @@ The .NET Foundation licenses this file to you under the MIT license. lld bfd 1572864 - true + true @@ -136,7 +136,6 @@ The .NET Foundation licenses this file to you under the MIT license. - @@ -151,6 +150,11 @@ The .NET Foundation licenses this file to you under the MIT license. + + + + + diff --git a/src/native/libs/System.IO.Compression.Native/CMakeLists.txt b/src/native/libs/System.IO.Compression.Native/CMakeLists.txt index 7fa92062d8e5b..69d333ae53f9c 100644 --- a/src/native/libs/System.IO.Compression.Native/CMakeLists.txt +++ b/src/native/libs/System.IO.Compression.Native/CMakeLists.txt @@ -184,12 +184,7 @@ else () endif () if((NOT CLR_CMAKE_USE_SYSTEM_ZLIB) AND STATIC_LIBS_ONLY) - if (CLR_CMAKE_TARGET_UNIX) - # zlib on Unix needs to be installed in the same location as System.IO.Compression.Native so that we can then treat is as a 'z' native library. - install_static_library(zlib ${STATIC_LIB_DESTINATION} nativeaot) - else() - install_static_library(zlib aotsdk nativeaot) - endif() + install_static_library(zlib aotsdk nativeaot) endif() install (TARGETS System.IO.Compression.Native-Static DESTINATION ${STATIC_LIB_DESTINATION} COMPONENT libs)