Changeset 668 for trunk

Show
Ignore:
Timestamp:
03/12/08 16:46:54 (8 months ago)
Author:
tom
Message:

Link the python extension explicitly with the cairo libraries on Darwin.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/bindings/python/SConscript

    r667 r668  
    5252    else : 
    5353        libraries.append('boost_regex%s' % env['BOOST_APPEND']) 
    54      
    5554    if env['THREADING'] == 'multi': 
    5655        libraries.append('boost_thread%s%s' % (env['BOOST_APPEND'],thread_suffix)) 
    57  
     56    if '-DHAVE_PYCAIRO' in env['CXXFLAGS']: 
     57        libraries.append([lib for lib in env['LIBS'] if lib.startswith('cairo')]) 
    5858    linkflags = '-F/ -framework Python' 
    5959