|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2024-05-02 08:55:38
Nigel Stewart wrote:
> Our specific requirement is to statically link _our_ preferred version of zlib
> built from _our_ pristine (and possibly patched) repo. There is no build
> reproducability via system packages that get patched over time, or are pinned
> to a historical version for the purpose of system stability.
As I said, this is accomplished by putting the following line in one of the
b2 configuration files, for example user-config.jam:
using zlib : 1.3.1 : <include>/opt/zlib-1.3.1/include <search>/opt/zlib-1.3.1/lib <name>our-zlib-name-1.3.1 ;
if we assume that your zlib headers are in /opt/zlib-1.3.1./include and
your prebuilt binary is /opt/zlib-1.3.1/lib/our-zlib-name-1.3.1.a.
Same for zstd (or bzip2 or lzma).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk