Boost logo

Boost-Commit :

From: kbelco_at_[hidden]
Date: 2008-04-25 13:37:47


Author: noel_belcourt
Date: 2008-04-25 13:37:47 EDT (Fri, 25 Apr 2008)
New Revision: 44768
URL: http://svn.boost.org/trac/boost/changeset/44768

Log:
Get config tests working (missing -lrt).

Text files modified:
   trunk/tools/build/v2/tools/pathscale.jam | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/tools/build/v2/tools/pathscale.jam
==============================================================================
--- trunk/tools/build/v2/tools/pathscale.jam (original)
+++ trunk/tools/build/v2/tools/pathscale.jam 2008-04-25 13:37:47 EDT (Fri, 25 Apr 2008)
@@ -41,6 +41,9 @@
 
   toolset.flags pathscale CONFIG_F_COMMAND $(condition) : $(command_f) ;
   toolset.flags pathscale CONFIG_F90_COMMAND $(condition) : $(command_f90) ;
+
+ # always link lib rt to resolve clock_gettime()
+ flags pathscale.link FINDLIBS-SA : rt : unchecked ;
 }
 
 # Declare generators
@@ -112,7 +115,6 @@
 flags pathscale.link FINDLIBS-ST <find-static-library> ;
 flags pathscale.link FINDLIBS-SA <find-shared-library> ;
 flags pathscale.link FINDLIBS-SA <threading>multi : pthread ;
-flags pathscale.link FINDLIBS-SA <threading>multi : rt ;
 flags pathscale.link LIBRARIES <library-file> ;
 flags pathscale.link LINK-RUNTIME <runtime-link>static : static ;
 flags pathscale.link LINK-RUNTIME <runtime-link>shared : dynamic ;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk