Update of /cvsroot/boost/boost/tools/build/v2/tools
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15395

Modified Files:
        python.jam 
Log Message:
Link to rt on Sun

Index: python.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/python.jam,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- python.jam  22 Jul 2006 07:12:10 -0000      1.23
+++ python.jam  24 Jul 2006 06:14:29 -0000      1.24
@@ -152,6 +152,18 @@
     # 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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to