Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57832 - trunk/libs/program_options/build
From: ghost_at_[hidden]
Date: 2009-11-21 04:14:00


Author: vladimir_prus
Date: 2009-11-21 04:13:58 EST (Sat, 21 Nov 2009)
New Revision: 57832
URL: http://svn.boost.org/trac/boost/changeset/57832

Log:
Add BOOST_PROGRAM_OPTIONS_DYN_LINK usage requirement for program_options.

Fixes #2273.

Text files modified:
   trunk/libs/program_options/build/Jamfile.v2 | 9 ++++-----
   1 files changed, 4 insertions(+), 5 deletions(-)

Modified: trunk/libs/program_options/build/Jamfile.v2
==============================================================================
--- trunk/libs/program_options/build/Jamfile.v2 (original)
+++ trunk/libs/program_options/build/Jamfile.v2 2009-11-21 04:13:58 EST (Sat, 21 Nov 2009)
@@ -1,7 +1,6 @@
 
 project boost/program_options
- :
- source-location ../src
+ : source-location ../src
     ;
 
 SOURCES =
@@ -11,10 +10,10 @@
     ;
 
 lib boost_program_options
+ : $(SOURCES).cpp
+ : <link>shared:<define>BOOST_PROGRAM_OPTIONS_DYN_LINK=1 # tell source we're building dll's
     :
- $(SOURCES).cpp
- :
- <link>shared:<define>BOOST_PROGRAM_OPTIONS_DYN_LINK=1 # tell source we're building dll's
+ : <link>shared:<define>BOOST_PROGRAM_OPTIONS_DYN_LINK=1
     ;
 
 boost-install boost_program_options ;
\ No newline at end of file


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