From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-08-31 04:06:55
On Thursday 31 August 2006 00:56, David Abrahams wrote:
> Update of /cvsroot/boost/boost/tools/build/v2/tools
> In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4741
> Modified Files:
> Log Message:
> Fix QNX's dependency on pthread (which doesn't exist on those systems).
> Clean up the comments a bit.
> Index: python.jam
> RCS file: /cvsroot/boost/boost/tools/build/v2/tools/python.jam,v
> retrieving revision 1.30
> retrieving revision 1.31
> diff -u -d -r1.30 -r1.31
> --- python.jam 25 Aug 2006 07:22:22 -0000 1.30
> +++ python.jam 30 Aug 2006 20:56:26 -0000 1.31
> @@ -139,22 +139,12 @@
> switch [ os.name ]
> - case SOLARIS : extra-libs = dl ;
> - case OSF : extra-libs = ;
> - case QNX* : extra-libs = ;
> - case * : extra-libs = dl util ;
> + case SOLARIS : extra-libs = pthread dl ;
> + case OSF : extra-libs = pthread ;
> + case QNX* : extra-libs = ;
> + case * : extra-libs = pthread dl util ;
> - # Depending on system, Python library is either static
> - # or shared. When it's static, we need to add 'pthread'
> - # to link line of all clients, otherwise we'll get
> - # unresolved symbols. Same effect can be accomplished
> - # by using <threading>multi on the client, but
> - # that can have performance overhead, and is not really
> - # necessary, as Python interface has nothing that's
> - # affected by threading mode.
I assume that this comment was deleted by mistake? It captures quite some
discussion we had, so I'm about to put it back.
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
Boost-Build 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