Boost package: Fix iostream autodetect libraries (#12440)

Boost iostream autodetects the compression libraries libzstd and
liblzma outside of the Spack environment.

This commit disables mentioned libraries. In the future if the
Spack zstd/lzma packages were added as dependencies of the Spack
Boost package, additional work could be done to build Boost with
the Spack-built versions of these libraries.
This commit is contained in:
Frédéric Simonis 2019-10-22 23:25:03 +02:00 committed by Peter Scheibel
parent 0f931cfc87
commit ab5135db1c

View File

@ -305,7 +305,9 @@ def determine_b2_options(self, spec, options):
'-s', 'BZIP2_INCLUDE=%s' % spec['bzip2'].prefix.include,
'-s', 'BZIP2_LIBPATH=%s' % spec['bzip2'].prefix.lib,
'-s', 'ZLIB_INCLUDE=%s' % spec['zlib'].prefix.include,
'-s', 'ZLIB_LIBPATH=%s' % spec['zlib'].prefix.lib])
'-s', 'ZLIB_LIBPATH=%s' % spec['zlib'].prefix.lib,
'-s', 'NO_LZMA=1',
'-s', 'NO_ZSTD=1'])
link_types = ['static']
if '+shared' in spec: