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

Modified Files:
        python.jam 
Log Message:
Correct extra-libs logic for QNX


Index: python.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/python.jam,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- python.jam  4 Jun 2006 06:55:48 -0000       1.20
+++ python.jam  12 Jul 2006 23:11:56 -0000      1.21
@@ -131,20 +131,15 @@
 
     
     local extra-libs ;
-    if [ os.name ] = SOLARIS
-    {
-        extra-libs = dl ;
-    }
-    else if [ os.name ] = OSF || [ os.name ] = QNXTO
-    {
-        # Nothing.
-    }   
-    else
+    
+    switch [ os.name ]
     {
-        extra-libs = dl util ;
+        case SOLARIS : extra-libs = dl      ;
+        case OSF:      extra-libs =         ;
+        case QNXTO:    extra-libs = util    ;
+        case *:        extra-libs = dl util ;
     }
     
-    
     # 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
@@ -159,7 +154,7 @@
                  ;
     
     alias python
-                 :  $(extra-libs)
+                 : $(extra-libs)
                  : $(condition)
                  :
                  : <include>$(includes) 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to