Message 380811 - Python tracker
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.