[Boost-bugs] [Boost C++ Libraries] #13003: boost build lacks <library>/boost//log, <library>/boost//log_setup

Subject: [Boost-bugs] [Boost C++ Libraries] #13003: boost build lacks <library>/boost//log, <library>/boost//log_setup
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-05-02 11:29:31


#13003: boost build lacks <library>/boost//log, <library>/boost//log_setup
----------------------------------------------+---------------------
 Reporter: Trey Van Riper <vanriper.trey@…> | Owner: andysem
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
  Version: Boost 1.64.0 | Severity: Problem
 Keywords: build log |
----------------------------------------------+---------------------
 If you create a Jamfile.jam file such as the following:

 {{{
 import boost ;
 boost.use-project ;
 exe test : [ glob src/*.cpp ] : <library>/boost//system
 <library>/boost//thread <library>/boost//log <library>/boost//log_setup
 }}}

 Boost build cannot find the library (presume I've configured Jamroot.jam
 to point to boost).

 I was able to fix this by going to the boost build's src/contrib/boost.jam
 file, jump to line 216 (within rule boost_std), and add the following two
 lines:

 {{{
 boost_lib_std log : BOOST_LOG_DYN_LINK ;
 boost_lib_std log_setup : BOOST_LOG_SETUP_DYN_LINK ;
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/13003>
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-05-02 11:33:41 UTC