Ticket #2114: dso_export.patch

File dso_export.patch, 22.6 KB (added by anonymous, 14 years ago)

patch file

  • boost/thread/detail/config.hpp

     
    4545#   endif
    4646#endif
    4747
    48 #if defined(BOOST_HAS_DECLSPEC)
    49 #   if defined(BOOST_THREAD_BUILD_DLL) //Build dll
    50 #       define BOOST_THREAD_DECL __declspec(dllexport)
    51 #   elif defined(BOOST_THREAD_USE_DLL) //Use dll
    52 #       define BOOST_THREAD_DECL __declspec(dllimport)
    53 #   else
    54 #       define BOOST_THREAD_DECL
    55 #   endif
     48#if defined(BOOST_THREAD_BUILD_DLL) //Build dll
     49#    define BOOST_THREAD_DECL BOOST_DSO_EXPORT
     50#elif defined(BOOST_THREAD_USE_DLL) //Use dll
     51#    define BOOST_THREAD_DECL BOOST_DSO_IMPORT
    5652#else
     53#    define BOOST_THREAD_DECL
     54#endif
     55
     56#if !defined(BOOST_THREAD_DECL)
    5757#   define BOOST_THREAD_DECL
    58 #endif // BOOST_HAS_DECLSPEC
     58#endif
    5959
    6060//
    6161// Automatically link to the correct build variant where possible.
  • boost/math/tr1.hpp

     
    2020
    2121#endif // __cplusplus
    2222
    23 #ifdef BOOST_HAS_DECLSPEC // defined in config system
    2423// we need to import/export our code only if the user has specifically
    2524// asked for it by defining either BOOST_ALL_DYN_LINK if they want all boost
    2625// libraries to be dynamically linked, or BOOST_MATH_TR1_DYN_LINK
     
    2827#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_MATH_TR1_DYN_LINK)
    2928// export if this is our own source, otherwise import:
    3029#ifdef BOOST_MATH_TR1_SOURCE
    31 # define BOOST_MATH_TR1_DECL __declspec(dllexport)
     30# define BOOST_MATH_TR1_DECL BOOST_DSO_EXPORT
    3231#else
    33 # define BOOST_MATH_TR1_DECL __declspec(dllimport)
     32# define BOOST_MATH_TR1_DECL BOOST_DSO_IMPORT
    3433#endif  // BOOST_MATH_TR1_SOURCE
    3534#endif  // DYN_LINK
    36 #endif  // BOOST_HAS_DECLSPEC
    3735//
    3836// if BOOST_MATH_TR1_DECL isn't defined yet define it now:
    3937#ifndef BOOST_MATH_TR1_DECL
  • boost/signals/detail/config.hpp

     
    1717
    1818#include <boost/config.hpp>
    1919
    20 #ifdef BOOST_HAS_DECLSPEC
    21 #  if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SIGNALS_DYN_LINK)
    22 #    ifdef BOOST_SIGNALS_SOURCE
    23 #      define BOOST_SIGNALS_DECL __declspec(dllexport)
    24 #    else
    25 #      define BOOST_SIGNALS_DECL __declspec(dllimport)
    26 #    endif  // BOOST_SIGNALS_SOURCE
    27 #  endif  // DYN_LINK
    28 #endif  // BOOST_HAS_DECLSPEC
     20#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SIGNALS_DYN_LINK)
     21#  ifdef BOOST_SIGNALS_SOURCE
     22#    define BOOST_SIGNALS_DECL BOOST_DSO_EXPORT
     23#  else
     24#    define BOOST_SIGNALS_DECL BOOST_DSO_IMPORT
     25#  endif  // BOOST_SIGNALS_SOURCE
     26#endif  // DYN_LINK
    2927
    3028#ifndef BOOST_SIGNALS_DECL
    3129#  define BOOST_SIGNALS_DECL
  • boost/wave/wave_config.hpp

     
    402402
    403403///////////////////////////////////////////////////////////////////////////////
    404404//  Set up dll import/export options
    405 #if defined(BOOST_HAS_DECLSPEC) && \
    406     (defined(BOOST_WAVE_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && \
     405#if (defined(BOOST_WAVE_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && \
    407406    !defined(BOOST_WAVE_STATIC_LINK)
    408407   
    409408#if defined(BOOST_WAVE_SOURCE)
    410 #define BOOST_WAVE_DECL __declspec(dllexport)
     409#define BOOST_WAVE_DECL BOOST_DSO_EXPORT
    411410#define BOOST_WAVE_BUILD_DLL
    412411#else
    413 #define BOOST_WAVE_DECL __declspec(dllimport)
     412#define BOOST_WAVE_DECL BOOST_DSO_IMPORT
    414413#endif
    415414
    416415#endif // building a shared library
  • boost/regex/config.hpp

     
    180180 *
    181181 ****************************************************************************/
    182182
    183 #if defined(BOOST_HAS_DECLSPEC) && (defined(BOOST_REGEX_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_REGEX_STATIC_LINK)
     183#if (defined(BOOST_REGEX_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_REGEX_STATIC_LINK)
    184184#  if defined(BOOST_REGEX_SOURCE)
    185 #     define BOOST_REGEX_DECL __declspec(dllexport)
     185#     define BOOST_REGEX_DECL BOOST_DSO_EXPORT
    186186#     define BOOST_REGEX_BUILD_DLL
    187187#  else
    188 #     define BOOST_REGEX_DECL __declspec(dllimport)
     188#     define BOOST_REGEX_DECL BOOST_DSO_IMPORT
    189189#  endif
    190190#endif
    191191
  • boost/filesystem/config.hpp

     
    7070#    error Dynamic linking Boost.Filesystem does not work for Borland; use static linking instead
    7171#  endif
    7272
    73 #ifdef BOOST_HAS_DECLSPEC // defined in config system
    7473// we need to import/export our code only if the user has specifically
    7574// asked for it by defining either BOOST_ALL_DYN_LINK if they want all boost
    7675// libraries to be dynamically linked, or BOOST_FILESYSTEM_DYN_LINK
     
    7877#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_FILESYSTEM_DYN_LINK)
    7978// export if this is our own source, otherwise import:
    8079#ifdef BOOST_FILESYSTEM_SOURCE
    81 # define BOOST_FILESYSTEM_DECL __declspec(dllexport)
     80# define BOOST_FILESYSTEM_DECL BOOST_DSO_EXPORT
    8281#else
    83 # define BOOST_FILESYSTEM_DECL __declspec(dllimport)
     82# define BOOST_FILESYSTEM_DECL BOOST_DSO_IMPORT
    8483#endif  // BOOST_FILESYSTEM_SOURCE
    8584#endif  // DYN_LINK
    86 #endif  // BOOST_HAS_DECLSPEC
    8785//
    8886// if BOOST_FILESYSTEM_DECL isn't defined yet define it now:
    8987#ifndef BOOST_FILESYSTEM_DECL
  • boost/config.hpp

     
    5656// get config suffix code:
    5757#include <boost/config/suffix.hpp>
    5858
     59//macroses for exporting symbols from shared libraries
     60#include <boost/config/dso.hpp>
     61
    5962#endif  // BOOST_CONFIG_HPP
    6063
    6164
  • boost/iostreams/detail/config/dyn_link.hpp

     
    2020
    2121//------------------Enable dynamic linking on windows-------------------------//
    2222
    23 #ifdef BOOST_HAS_DECLSPEC
    24 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_IOSTREAMS_DYN_LINK)
    25 #  ifdef BOOST_IOSTREAMS_SOURCE
    26 #   define BOOST_IOSTREAMS_DECL __declspec(dllexport)
    27 #  else
    28 #   define BOOST_IOSTREAMS_DECL __declspec(dllimport)
    29 #  endif 
     23#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_IOSTREAMS_DYN_LINK)
     24# ifdef BOOST_IOSTREAMS_SOURCE
     25#  define BOOST_IOSTREAMS_DECL BOOST_DSO_EXPORT
     26# else
     27#  define BOOST_IOSTREAMS_DECL BOOST_DSO_IMPORT
    3028# endif 
    31 #endif
     29#endif  
    3230
    3331#ifndef BOOST_IOSTREAMS_DECL
    3432# define BOOST_IOSTREAMS_DECL
  • boost/mpi/python/config.hpp

     
    2020 *                                                                           *
    2121 *****************************************************************************/
    2222
    23 #if defined(BOOST_HAS_DECLSPEC) && (defined(BOOST_MPI_PYTHON_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_MPI_PYTHON_STATIC_LINK)
     23#if (defined(BOOST_MPI_PYTHON_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_MPI_PYTHON_STATIC_LINK)
    2424#  if defined(BOOST_MPI_PYTHON_SOURCE)
    25 #     define BOOST_MPI_PYTHON_DECL __declspec(dllexport)
     25#     define BOOST_MPI_PYTHON_DECL BOOST_DSO_EXPORT
    2626#     define BOOST_MPI_PYTHON_BUILD_DLL
    2727#  else
    28 #     define BOOST_MPI_PYTHON_DECL __declspec(dllimport)
     28#     define BOOST_MPI_PYTHON_DECL BOOST_DSO_IMPORT
    2929#  endif
    3030#endif
    3131
  • boost/mpi/config.hpp

     
    8080 *                                                                           *
    8181 *****************************************************************************/
    8282
    83 #if defined(BOOST_HAS_DECLSPEC) && (defined(BOOST_MPI_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_MPI_STATIC_LINK)
     83#if (defined(BOOST_MPI_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && !defined(BOOST_MPI_STATIC_LINK)
    8484#  if defined(BOOST_MPI_SOURCE)
    85 #     define BOOST_MPI_DECL __declspec(dllexport)
     85#     define BOOST_MPI_DECL BOOST_DSO_EXPORT
    8686#     define BOOST_MPI_BUILD_DLL
    8787#  else
    88 #     define BOOST_MPI_DECL __declspec(dllimport)
     88#     define BOOST_MPI_DECL BOOST_DSO_IMPORT
    8989#  endif
    9090#endif
    9191
  • boost/date_time/compiler_config.hpp

     
    9696 *
    9797 */
    9898
    99 #ifdef BOOST_HAS_DECLSPEC // defined in config system
    100    // we need to import/export our code only if the user has specifically
    101    // asked for it by defining either BOOST_ALL_DYN_LINK if they want all boost
    102    // libraries to be dynamically linked, or BOOST_DATE_TIME_DYN_LINK
    103    // if they want just this one to be dynamically liked:
    104 #  if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_DATE_TIME_DYN_LINK)
     99// we need to import/export our code only if the user has specifically
     100// asked for it by defining either BOOST_ALL_DYN_LINK if they want all boost
     101// libraries to be dynamically linked, or BOOST_DATE_TIME_DYN_LINK
     102// if they want just this one to be dynamically liked:
     103#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_DATE_TIME_DYN_LINK)
    105104      // export if this is our own source, otherwise import:
    106 #     ifdef BOOST_DATE_TIME_SOURCE
    107 #       define BOOST_DATE_TIME_DECL __declspec(dllexport)
    108 #     else
    109 #       define BOOST_DATE_TIME_DECL __declspec(dllimport)
    110 #     endif  // BOOST_DATE_TIME_SOURCE
    111 #  endif  // DYN_LINK
    112 #endif  // BOOST_HAS_DECLSPEC
     105#   ifdef BOOST_DATE_TIME_SOURCE
     106#     define BOOST_DATE_TIME_DECL BOOST_DSO_EXPORT
     107#   else
     108#     define BOOST_DATE_TIME_DECL BOOST_DSO_IMPORT
     109#   endif  // BOOST_DATE_TIME_SOURCE
     110#endif  // DYN_LINK
     111
    113112//
    114113// if BOOST_WHATEVER_DECL isn't defined yet define it now:
    115114#ifndef BOOST_DATE_TIME_DECL
  • boost/graph/graphviz.hpp

     
    2424#include <boost/graph/adjacency_list.hpp>
    2525#include <boost/dynamic_property_map.hpp>
    2626
    27 #ifdef BOOST_HAS_DECLSPEC
    28 #  if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_GRAPH_DYN_LINK)
    29 #    ifdef BOOST_GRAPH_SOURCE
    30 #      define BOOST_GRAPH_DECL __declspec(dllexport)
    31 #    else
    32 #      define BOOST_GRAPH_DECL __declspec(dllimport)
    33 #    endif  // BOOST_GRAPH_SOURCE
    34 #  endif  // DYN_LINK
    35 #endif  // BOOST_HAS_DECLSPEC
     27#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_GRAPH_DYN_LINK)
     28#  ifdef BOOST_GRAPH_SOURCE
     29#    define BOOST_GRAPH_DECL BOOST_DSO_EXPORT
     30#  else
     31#    define BOOST_GRAPH_DECL BOOST_DSO_IMPORT
     32#  endif  // BOOST_GRAPH_SOURCE
     33#endif  // DYN_LINK
    3634
    3735#ifndef BOOST_GRAPH_DECL
    3836#  define BOOST_GRAPH_DECL
  • boost/program_options/config.hpp

     
    3535
    3636///////////////////////////////////////////////////////////////////////////////
    3737// Windows DLL suport
    38 #ifdef BOOST_HAS_DECLSPEC
    3938#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_PROGRAM_OPTIONS_DYN_LINK)
    4039// export if this is our own source, otherwise import:
    4140#ifdef BOOST_PROGRAM_OPTIONS_SOURCE
    42 # define BOOST_PROGRAM_OPTIONS_DECL __declspec(dllexport)
     41# define BOOST_PROGRAM_OPTIONS_DECL BOOST_DSO_EXPORT
    4342#else
    44 # define BOOST_PROGRAM_OPTIONS_DECL __declspec(dllimport)
     43# define BOOST_PROGRAM_OPTIONS_DECL BOOST_DSO_IMPORT
    4544#endif  // BOOST_PROGRAM_OPTIONS_SOURCE
    4645#endif  // DYN_LINK
    47 #endif  // BOOST_HAS_DECLSPEC
    4846
    4947#ifndef BOOST_PROGRAM_OPTIONS_DECL
    5048#define BOOST_PROGRAM_OPTIONS_DECL
  • boost/config/dso.hpp

     
     1#ifndef BOOST_CONFIG_DYNAMIC_SHARED_OBJECT_SYMBOL_EXPORT_HPP
     2#define BOOST_CONFIG_DYNAMIC_SHARED_OBJECT_SYMBOL_EXPORT_HPP
     3
     4
     5//note: for gcc -fvisibility=hidden flag should be passed to compiler
     6#if defined __GNUC__ && __GNUC__ >= 4
     7
     8#  define BOOST_DSO_EXPORT __attribute__((visibility("default")))
     9#  define BOOST_DSO_HIDE   __attribute__((visibility("hidden")))
     10#  define BOOST_DSO_IMPORT
     11#  define BOOST_DSO_EXPORT_EXCEPTION BOOST_DSO_EXPORT
     12#  define BOOST_DSO_IMPORT_EXCEPTION BOOST_DSO_EXPORT
     13
     14#elif defined _MSC_VER || defined __BORLANDC__
     15
     16#  define BOOST_DSO_EXPORT __declspec(dllexport)
     17#  define BOOST_DSO_HIDE
     18#  define BOOST_DSO_IMPORT __declspec(dllimport)
     19#  define BOOST_DSO_EXPORT_EXCEPTION BOOST_DSO_EXPORT
     20#  define BOOST_DSO_IMPORT_EXCEPTION BOOST_DSO_IMPORT
     21
     22#endif
     23
     24
     25#if !defined BOOST_DSO_EXPORT
     26#  define BOOST_DSO_EXPORT
     27#  define BOOST_DSO_HIDE
     28#  define BOOST_DSO_IMPORT
     29#  define BOOST_DSO_EXPORT_EXCEPTION
     30#  define BOOST_DSO_IMPORT_EXCEPTION
     31#endif
     32
     33#endif
     34
  • boost/system/config.hpp

     
    3131//#    error Dynamic linking Boost.System does not work for Borland; use static linking instead
    3232//#  endif
    3333
    34 #ifdef BOOST_HAS_DECLSPEC // defined in config system
    3534// we need to import/export our code only if the user has specifically
    3635// asked for it by defining either BOOST_ALL_DYN_LINK if they want all boost
    3736// libraries to be dynamically linked, or BOOST_SYSTEM_DYN_LINK
     
    3938#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SYSTEM_DYN_LINK)
    4039// export if this is our own source, otherwise import:
    4140#ifdef BOOST_SYSTEM_SOURCE
    42 # define BOOST_SYSTEM_DECL __declspec(dllexport)
     41# define BOOST_SYSTEM_DECL BOOST_DSO_EXPORT
    4342#else
    44 # define BOOST_SYSTEM_DECL __declspec(dllimport)
     43# define BOOST_SYSTEM_DECL BOOST_DSO_IMPORT
    4544#endif  // BOOST_SYSTEM_SOURCE
    4645#endif  // DYN_LINK
    47 #endif  // BOOST_HAS_DECLSPEC
    4846//
    4947// if BOOST_SYSTEM_DECL isn't defined yet define it now:
    5048#ifndef BOOST_SYSTEM_DECL
  • boost/test/detail/config.hpp

     
    8484#if defined(BOOST_TEST_DYN_LINK)
    8585#  define BOOST_TEST_ALTERNATIVE_INIT_API
    8686
    87 #  if defined(BOOST_HAS_DECLSPEC) && defined(BOOST_TEST_DYN_LINK)
     87#  if defined(BOOST_TEST_DYN_LINK)
    8888#    ifdef BOOST_TEST_SOURCE
    89 #      define BOOST_TEST_DECL __declspec(dllexport)
     89#      define BOOST_TEST_DECL BOOST_DSO_EXPORT
    9090#    else
    91 #      define BOOST_TEST_DECL __declspec(dllimport)
     91#      define BOOST_TEST_DECL BOOST_DSO_IMPORT
    9292#    endif  // BOOST_TEST_SOURCE
    9393#  endif  // BOOST_HAS_DECLSPEC
    9494#endif  // BOOST_TEST_DYN_LINK
  • libs/mpi/build/Jamfile.v2

     
    1717{
    1818
    1919project boost/mpi
     20  : requirements
     21    <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden"
    2022  : source-location ../src
    2123  ;
    2224
     
    110112  ECHO "note: otherwise, you can safely ignore this message." ;
    111113}
    112114
    113 boost-install $(libraries) ;
    114  No newline at end of file
     115boost-install $(libraries) ;
  • libs/date_time/build/Jamfile.v2

     
    2020        <define>DATE_TIME_INLINE
    2121        <link>shared:<define>BOOST_ALL_DYN_LINK=1       
    2222        <link>static:<define>BOOST_DATE_TIME_STATIC_LINK       
     23   <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden"
    2324    : usage-requirements       
    2425        <define>DATE_TIME_INLINE
    2526        <link>shared:<define>BOOST_DATE_TIME_DYN_LINK=1
  • libs/graph/build/Jamfile.v2

     
    55# http://www.boost.org/LICENSE_1_0.txt)
    66
    77project boost/graph
    8     : requirements <include>../src
     8    : requirements
     9      <include>../src
     10      <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden"
    911    : source-location ../src
    1012    ;
    1113
     
    5254    $(optional_reqs)
    5355    ;
    5456
    55 boost-install boost_graph ;
    56  No newline at end of file
     57boost-install boost_graph ;
  • libs/thread/build/Jamfile.v2

     
    4141    : requirements <threading>multi
    4242      <link>static:<define>BOOST_THREAD_BUILD_LIB=1
    4343      <link>shared:<define>BOOST_THREAD_BUILD_DLL=1
     44      <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden"
    4445      -<tag>@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag
    4546      <tag>@$(__name__).tag
    4647    : default-build <threading>multi
  • libs/program_options/build/Jamfile.v2

     
    11
    22project boost/program_options
     3    : requirements
     4      <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden"
    35    :
    46    source-location ../src
    57    ;
     
    1719    <link>shared:<define>BOOST_PROGRAM_OPTIONS_DYN_LINK=1 # tell source we're building dll's
    1820    ;
    1921
    20 boost-install boost_program_options ;
    21  No newline at end of file
     22boost-install boost_program_options ;
  • libs/system/build/Jamfile.v2

     
    88# See library home page at http://www.boost.org/libs/system
    99
    1010project boost/system
     11    : requirements
     12      <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden"
    1113    : source-location ../src
    1214    : usage-requirements  # pass these requirement to dependents (i.e. users)
    1315      <link>shared:<define>BOOST_SYSTEM_DYN_LINK=1
     
    2224     <link>static:<define>BOOST_SYSTEM_STATIC_LINK=1
    2325   ;
    2426
    25 boost-install boost_system ;
    26  No newline at end of file
     27boost-install boost_system ;
  • libs/math/build/Jamfile.v2

     
    55
    66import testing ;
    77
     8project boost/math
     9   : requirements
     10     <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden"
     11   ;   
     12
    813C99_SOURCES = acosh
    914asinh
    1015atanh
  • libs/signals/build/Jamfile.v2

     
    77
    88# For more information, see http://www.boost.org
    99
    10 project boost/signals
     10project boost/signals
     11    : requirements
     12      <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden"
    1113    : source-location ../src
    1214    ;
    1315
     
    2022        <link>shared:<define>BOOST_SIGNALS_DYN_LINK=1
    2123    ;
    2224
    23 boost-install boost_signals ;
    24  No newline at end of file
     25boost-install boost_signals ;
  • libs/wave/build/Jamfile.v2

     
    1313      <link>shared:<define>BOOST_ALL_DYN_LINK=1
    1414      <toolset>msvc-8.0:<define>_SCL_SECURE_NO_DEPRECATE
    1515      <toolset>msvc-8.0:<define>_CRT_SECURE_NO_DEPRECATE
     16      <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden"
    1617    : source-location ../src
    1718    ;
    1819
  • libs/regex/build/Jamfile.v2

     
    44# http://www.boost.org/LICENSE_1_0.txt.
    55
    66project boost/regex
     7    : requirements
     8      <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden"
    79    : source-location ../src
    810    ;
    911
  • libs/test/build/Jamfile.v2

     
    99    : requirements <link>shared:<define>BOOST_TEST_DYN_LINK=1
    1010                   <toolset>msvc:<asynch-exceptions>on
    1111                   <toolset>borland:<cxxflags>-w-8080
     12                   <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden" 
    1213           # Disable Warning about boost::noncopyable not being exported
    1314           <link>shared,<toolset>msvc:<cxxflags>-wd4275
    1415    : usage-requirements
     
    8586boost-install boost_prg_exec_monitor
    8687              boost_test_exec_monitor
    8788              boost_unit_test_framework ;
    88              
    89  No newline at end of file
     89             
  • libs/filesystem/build/Jamfile.v2

     
    99# See library home page at http://www.boost.org/libs/filesystem
    1010
    1111project boost/filesystem
     12    : requirements
     13      <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden"
    1214    : source-location ../src
    1315    : usage-requirements # pass these requirement to dependents (i.e. users)
    1416      <link>shared:<define>BOOST_FILESYSTEM_DYN_LINK=1
     
    2931    :
    3032    ;
    3133
    32 boost-install boost_filesystem ;
    33  No newline at end of file
     34boost-install boost_filesystem ;
  • libs/iostreams/build/Jamfile.v2

     
    77
    88# See http://www.boost.org/libs/iostreams for documentation.
    99
    10 project /boost/iostreams : source-location ../src ;
     10project /boost/iostreams
     11    : requirements
     12      <toolset>gcc,<link>shared:<cxxflags>"-fvisibility=hidden"
     13    : source-location ../src ;
    1114
    1215# The biggest trick in this Jamfile is to link to zlib and bzip2 when
    1316# needed. To configure that, a number of variables are used, which must