Page MenuHome

Fix T85648: macOS avoid using zlib dynamic library
ClosedPublic

Authored by Ankit Meel (ankitm) on Feb 20 2021, 8:49 AM.

Details

Summary

rBc70eb30240f8b5d5a8f2ac509f0eb585936142b5 added patch to use static
zlib on Linux. But also added flags to use the zlib in LIBDIR for
Python on macOS. That causes some shared libraries (binascii for one)
to link against libz.1.dylib which will not be there on users' systems.

Reuse the said patch for macOS also to avoid rpath issues.


I only tested import binascii (which had no error), and output of
otool -L path/to/binascii.cpython-39-darwin.so.
Did NOT build/test blender.

Diff Detail

Repository
rB Blender
Branch
binascii (branched from master)
Build Status
Buildable 13021
Build 13021: arc lint + arc unit