Changeset 62179


Ignore:
Timestamp:
May 24, 2010, 7:26:26 PM (9 years ago)
Author:
Beman Dawes
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/filesystem/build/Jamfile.v2

    r62121 r62179  
    1 
    21# Boost Filesystem Library Build Jamfile
    32
     
    54# Distributed under the Boost Software License, Version 1.0.
    65# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)
    7 
    86
    97# See library home page at http://www.boost.org/libs/filesystem
     
    2018lib boost_filesystem
    2119    : $(SOURCES).cpp ../../system/build//boost_system
    22     : <link>shared:<define>BOOST_ALL_DYN_LINK=1 # tell source we're building dll's
     20    : <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1 # tell source we're building dll's
    2321    :
    24     : # Boost.Filesystem uses some of Boost.System function in inlined/templated
    25       # function, so clients that use Boost.Filesystem will have
    26       # direct refenreces to Boost.System systems. On Windows and darwin, this
     22    : # Boost.Filesystem uses some of Boost.System functions in inlined/templated
     23      # functions, so clients that use Boost.Filesystem will have direct references
     24      # to Boost.System symbols. On Windows, Darwin, and some other platforms, this
    2725      # means those clients have to be directly linked to Boost.System. For static
    28       # linking this happens anyway, and for shared we need to make it happen.
    29       <target-os>windows,<link>shared:<library>../../system/build//boost_system
    30       <target-os>darwin,<link>shared:<library>../../system/build//boost_system
     26      # linking this happens anyway, but for shared we need to make it happen. Since
     27      # doing so is harmless even when not needed, we do it for all platforms.
     28      <link>shared:<library>../../system/build//boost_system
    3129    ;
    3230
Note: See TracChangeset for help on using the changeset viewer.