New submission from Jakub Piotr Cłapa <j...@loee.pl>: 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). ---------- components: Cross-Build messages: 350185 nosy: Alex.Willmer, Jakub Piotr Cłapa priority: normal severity: normal status: open title: distutils: allow overriding of the RANLIB command on macOS (darwin) type: compile error _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37916> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com