Author Jakub Piotr Cłapa
Recipients Alex.Willmer, Jakub Piotr Cłapa
Date 2019-08-22.11:37:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1566473837.96.0.294748627211.issue37916@roundup.psfhosted.org>
In-reply-to
Content
On a macOS hosts the system ranlib does not understand ELF
files so using the "ranlib" command causes errors during cross-compilations.

The simplest way to fix it is to pass the RANLIB parameter provided to setup.py through to the distutils compiler machinery. This is analogous to the way the C/C++ cross-compiler is configured.

This change (in a GitHub PR) was required to proceed with crosscompiling numpy. It should help with other packages too (if they use distutils and need ranlib).
History
Date User Action Args
2019-08-22 11:37:17Jakub Piotr Cłapasetrecipients: + Jakub Piotr Cłapa, Alex.Willmer
2019-08-22 11:37:17Jakub Piotr Cłapasetmessageid: <1566473837.96.0.294748627211.issue37916@roundup.psfhosted.org>
2019-08-22 11:37:17Jakub Piotr Cłapalinkissue37916 messages
2019-08-22 11:37:17Jakub Piotr Cłapacreate