针对你遇到的“please install a static zlib. (missing libz.a or zlib.h)”错误,以下是一些可能的解决步骤: 1. 确认系统环境和开发工具 首先,确认你的系统环境和开发工具是否满足编译zlib的需求。例如,在Linux系统中,你可能需要确保已安装gcc、make等编译工具。 2. 下载zlib的源码包 如果系统中缺少zlib的静态...
I build a custom musl toolchain image with several libraries, to in the end build static Rust binaries. I just recently found out that this crate doesn't use my pre-build static zlib package. I noticed that it in the end will never use my pre-build binary, since I'm cross-compiling ...
This reverts commit 7ad3f8f. Reason for revert: Temporarily relanding https://r.android.com/3124154 to get the ASAN builds green, because a proper fix requires some restructuring of the *_static_defaults. Bug: 347036796 Change-Id: Idf5858fe9dfe438f8d2d2b5bf295fd0c3d146111vic marstj autho...