[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

seb report at bugs.python.org
Mon Jan 11 11:37:33 EST 2021


seb <s_rath at maxon.net> added the comment:

Thanks for the help! I tried the instructions, without success. I installed xz through homebrew (which needs to be installed on Silicon under /opt/homebrew). I can confirm the existance of: /opt/homebrew/Cellar/xz/5.2.5/include/lzma.h

I used CPPFLAGS and also modified the system_include_dirs variable in the setup.py file, in both cases lzma.h seems to be ignored.

> system_include_dirs = ['opt/homebrew/include', '/opt/homebrew/Cellar/xz/5.2.5/include']

Am I missing something obvious here? Thanks!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41116>
_______________________________________


More information about the Python-bugs-list mailing list