summaryrefslogtreecommitdiff
path: root/Ports/zlib/patches
AgeCommit message (Collapse)Author
2022-03-29Ports: Stop zlib from trying to use the host linkerDaniel Bertalan
Backports an upstream fix for a bug that caused the host compiler to be used for linking even though the cross-compiler was specified in the `CC` environment variable. This didn't cause an issue for SERENITY_ARCH=i686 on Linux hosts, because seeing that the host linker couldn't deal with i686 objects, the configure script fell back to generating only a static library. On x86-64, the host toolchain was able to deal with the object files, but tried to link those to host libraries. On macOS hosts, nothing worked.