boost: At least with older Xcode, boost can't build with lzma (#34075)
Reference: https://lists.boost.org/Archives/boost/2019/11/247380.php As reported at the end of #33998 and this link, liblzma on older Xcode on MacOSX 10 misses _lzma_cputhreads, so boost's can't use liblzma on those.
This commit is contained in:
parent
73fe21ba41
commit
09f2b6f5f5
1 changed files with 3 additions and 0 deletions
|
@ -524,6 +524,9 @@ def determine_b2_options(self, spec, options):
|
|||
"ZSTD_LIBPATH=%s" % spec["zstd"].prefix.lib,
|
||||
]
|
||||
)
|
||||
# At least with older Xcode, _lzma_cputhreads is missing (#33998)
|
||||
if "platform=darwin" in self.spec:
|
||||
options.extend(["-s", "NO_LZMA=1"])
|
||||
|
||||
link_types = ["static"]
|
||||
if "+shared" in spec:
|
||||
|
|
Loading…
Reference in a new issue