Changeset 707 for trunk/SConstruct

Show
Ignore:
Timestamp:
06/29/08 07:40:35 (5 months ago)
Author:
artem
Message:

corrected boost libs names logic

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r703 r707  
    155155 
    156156BOOST_LIBSHEADERS = [ 
    157     # ['system', 'boost/system/system_error.hpp', True], # uncomment this on Darwin + boost_1_35 
     157    ['system', 'boost/system/system_error.hpp', True], # uncomment this on Darwin + boost_1_35 
    158158    ['filesystem', 'boost/filesystem/operations.hpp', True], 
    159159    ['regex', 'boost/regex.hpp', True], 
     
    182182for count, libinfo in enumerate(BOOST_LIBSHEADERS): 
    183183    if  env['THREADING'] == 'multi' : 
    184         if not conf.CheckLibWithHeader('boost_%s%s%s' % (libinfo[0],env['BOOST_APPEND'],thread_suffix), libinfo[1], 'C++') and libinfo[2] : 
     184        if not conf.CheckLibWithHeader('boost_%s%s%s' % (libinfo[0],thread_suffix,env['BOOST_APPEND']), libinfo[1], 'C++') and libinfo[2] : 
    185185            color_print(1,'Could not find header or shared library for boost %s, exiting!' % libinfo[0]) 
    186186            Exit(1)