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

Link to rt on Sun

[SVN r34693]
This commit is contained in:
Vladimir Prus
2006-07-24 06:14:29 +00:00
parent 7a5cb079cf
commit 7115edc2ba

View File

@@ -152,6 +152,18 @@ rule init-unix ( version ? : root ? : includes ? : libraries ? : condition * )
# affected by threading mode.
extra-libs += pthread ;
# Add 'rt' option on Sun. While we duplicate the
# logic already in sun.jam and gcc.jam, I see no easy
# way to refactor it.
condition += <toolset>sun:<find-shared-library>rt ;
switch [ modules.peek : JAMUNAME ]
{
case SunOS* :
{
condition += <toolset>gcc:<find-shared-library>rt ;
}
}
# On Linux, we don't want to link either Boost.Python or
# Python extensions to libpython, so that when extensions
# loaded in the interpreter, the symbols in the interpreter