Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73350 - trunk/libs/locale/build
From: artyomtnk_at_[hidden]
Date: 2011-07-25 02:58:52


Author: artyom
Date: 2011-07-25 02:58:50 EDT (Mon, 25 Jul 2011)
New Revision: 73350
URL: http://svn.boost.org/trac/boost/changeset/73350

Log:
Added shared library build flags required for GCC

Text files modified:
   trunk/libs/locale/build/Jamfile.v2 | 10 ++++++++++
   1 files changed, 10 insertions(+), 0 deletions(-)

Modified: trunk/libs/locale/build/Jamfile.v2
==============================================================================
--- trunk/libs/locale/build/Jamfile.v2 (original)
+++ trunk/libs/locale/build/Jamfile.v2 2011-07-25 02:58:50 EDT (Mon, 25 Jul 2011)
@@ -300,6 +300,16 @@
             properties += <boost.locale.winapi>off ;
         }
     }
+ if <target-os>windows in $(properties)
+ && <toolset>gcc in $(properties)
+ && <link>shared in $(properties)
+ {
+ flags-result += <cxxflags>-shared-libstdc++
+ <cxxflags>-shared-libgcc
+ <linkflags>-shared-libstdc++
+ <linkflags>-shared-libgcc
+ ;
+ }
     
     if <boost.locale.winapi>off in $(properties)
     {


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