2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 13:42:14 +00:00

Merge: Revive pthread & python comment.

[SVN r35010]
This commit is contained in:
Vladimir Prus
2006-08-31 08:08:57 +00:00
parent 114c3a83df
commit 32c940a6d3

View File

@@ -145,7 +145,15 @@ rule init-unix ( version ? : root ? : includes ? : libraries ? : condition * )
local extra-libs ;
# 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.
switch [ os.name ]
{
case SOLARIS : extra-libs = pthread dl ;