[PyQt] [pyqt] Remove LC_ID_DYLIB from modules shipped in the macOS wheel
Ilya Kulakov
kulakov.ilya at gmail.com
Wed Nov 1 07:13:27 GMT 2017
Hi,
Python modules bundled with the macOS wheel have their install names set to a fixed path,
e.g. /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/PyQt5/Qt.so
Python runtime does not care about install names, but users may theoretically link against them
and this path is generally wrong: builtin Python is rarely used and virtualenvs are common.
I suggest to remove LC_ID_DYLIB from Python extension modules entirely as that will
cause linker to record current path rather then install name.
Best Regards,
Ilya Kulakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20171101/268fb2d9/attachment.html>
More information about the PyQt
mailing list