Sijmen J. Mulder <i...@sjmulder.nl> added the comment:

With './configure; make' of master on macOS 11 on Apple Silicon I get the 
library detection failure. The quick and easy fix was to amend inc_dirs and 
lib_dirs in setup.py:

         if MACOS:
+            sysroot = macosx_sdk_root()
+            self.inc_dirs.append(sysroot + '/usr/include')
+            self.lib_dirs.append(sysroot + '/usr/lib')

Interestingly the lzma library is found, but the module fails because it cannot 
find lzma.h, which does indeed appear to be missing in the SDK.

----------
nosy: +sjmulder

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41116>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to