[Boost-bugs] [Boost C++ Libraries] #13267: b2 doesn't recognize ZLIB options other than ZLIB_SOURCE

Subject: [Boost-bugs] [Boost C++ Libraries] #13267: b2 doesn't recognize ZLIB options other than ZLIB_SOURCE
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-10-20 13:16:09


#13267: b2 doesn't recognize ZLIB options other than ZLIB_SOURCE
-----------------------------------------------------+---------------------
 Reporter: Shintaro Sakahara <shintaro-sakahara@…> | Owner: (none)
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
  Version: Boost 1.65.0 | Severity: Problem
 Keywords: |
-----------------------------------------------------+---------------------
 Building Boost 1.65.1 on Windows with msvc-12.0.

 b2 doesn't detect zlib with the command line below:

 {{{
 b2 toolset=msvc-12.0 --with-iostreams
 -sZLIB_INCLUDE=D:/Libraries/zlib-1.2.11/stage/x86/include
 -sZLIB_LIBRARY_PATH=D:/Libraries/zlib-1.2.11/stage/x86/lib
 -sZLIB_NAME=zlib variant=debug link=shared --stagedir=stage/x86 stage
 }}}

 and the following line is emitted:

 {{{
     - zlib : no (cached)
 }}}

 b2 detects zlib only when ZLIB_SOURCE is specified. However, since I built
 zlib with CMake and INSTALLed on different directory, zconf.h doesn't
 exist on the directory under the source directory from which Boost is
 about to include the file from. A workaround is to copy zconf.h from the
 actual include directory into the source directory when I run b2 and
 delete it after building is finished.

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13267>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-10-20 13:22:37 UTC