2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Revive pthread & python comment

[SVN r35009]
This commit is contained in:
Vladimir Prus
2006-08-31 08:08:15 +00:00
parent a40b61a423
commit ec9f39dc0e

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 ;