Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62179 - trunk/libs/filesystem/build
From: bdawes_at_[hidden]
Date: 2010-05-24 15:26:26


Author: bemandawes
Date: 2010-05-24 15:26:26 EDT (Mon, 24 May 2010)
New Revision: 62179
URL: http://svn.boost.org/trac/boost/changeset/62179

Log:
Apply fix #4237 uniformly to all shared builds, in the hope that this same problem is what is causing failures on IBM and Sun platforms. Believed to be harmless on platforms where it isn't needed.
Text files modified:
   trunk/libs/filesystem/build/Jamfile.v2 | 16 +++++++---------
   1 files changed, 7 insertions(+), 9 deletions(-)

Modified: trunk/libs/filesystem/build/Jamfile.v2
==============================================================================
--- trunk/libs/filesystem/build/Jamfile.v2 (original)
+++ trunk/libs/filesystem/build/Jamfile.v2 2010-05-24 15:26:26 EDT (Mon, 24 May 2010)
@@ -1,11 +1,9 @@
-
 # Boost Filesystem Library Build Jamfile
 
 # (C) Copyright Beman Dawes 2002-2006
 # Distributed under the Boost Software License, Version 1.0.
 # (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)
 
-
 # See library home page at http://www.boost.org/libs/filesystem
 
 project boost/filesystem
@@ -19,15 +17,15 @@
 
 lib boost_filesystem
     : $(SOURCES).cpp ../../system/build//boost_system
- : <link>shared:<define>BOOST_ALL_DYN_LINK=1 # tell source we're building dll's
+ : <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1 # tell source we're building dll's
     :
- : # Boost.Filesystem uses some of Boost.System function in inlined/templated
- # function, so clients that use Boost.Filesystem will have
- # direct refenreces to Boost.System systems. On Windows and darwin, this
+ : # Boost.Filesystem uses some of Boost.System functions in inlined/templated
+ # functions, so clients that use Boost.Filesystem will have direct references
+ # to Boost.System symbols. On Windows, Darwin, and some other platforms, this
       # means those clients have to be directly linked to Boost.System. For static
- # linking this happens anyway, and for shared we need to make it happen.
- <target-os>windows,<link>shared:<library>../../system/build//boost_system
- <target-os>darwin,<link>shared:<library>../../system/build//boost_system
+ # linking this happens anyway, but for shared we need to make it happen. Since
+ # doing so is harmless even when not needed, we do it for all platforms.
+ <link>shared:<library>../../system/build//boost_system
     ;
 
 boost-install boost_filesystem ;


Boost-Commit 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