From 4919c51c9a31ea7c7ad61d0df8e3f9f081ca2e19 Mon Sep 17 00:00:00 2001 From: Pierre Wendling Date: Tue, 6 Jun 2023 23:41:38 -0400 Subject: [PATCH] zlib: Also remove macOS shared libraries. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c834d8e..b97c85a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,6 +153,9 @@ function(toolchain_deps toolchain_deps_dir toolchain_install_dir toolchain_suffi COMMAND ${CMAKE_COMMAND} -E remove ${toolchain_deps_dir}/lib/libz.so ${toolchain_deps_dir}/lib/libz.so.1 + ${toolchain_deps_dir}/lib/libz.dylib + ${toolchain_deps_dir}/lib/libz.1.dylib + ${toolchain_deps_dir}/lib/libz.1.2.13.dylib COMMENT "Delete shared libraries, if present" ) endif()