Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Haiku: always link to the system libz.so.
When rustc and cargo are built for Haiku, they are cross-compiled from Linux. The current logic of the build script decides to build from source when cross-compiling. On Haiku, this is unnecessary. We can safely assume that libz.so is on the target system. Therefore, like with Android, we can always link to it.
- Loading branch information