|
Boost-Build : |
Subject: Re: [Boost-build] Compiling boost on linux with nonstandard bzlib.h location
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-05-13 00:28:13
AMDG
On 05/12/2015 03:34 PM, Simon Ye wrote:
> I'm trying to compile boost (1.57 on linux RHEL6) which doesn't have bzip2
> installed. (See https://github.com/Homebrew/linuxbrew/pull/322) Therefore
> to get it to work I can set BZIP2_INCLUDE and BZIP2_LIBPATH to my custom
> bzip2 install. Is there any way to add a directory to the search path of
> all header files/libraries for B2?
Yes, there is.
b2 include=/my/include/path
> I was assuming not otherwise there would
> be no need for the BZIP2_* and ZLIB_* environment variables.
>
These variables are only applied for building
components that need bzip2 or zlib.
In Christ,
Steven Watanabe
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk