scons: make sure to link to cairo if present but even if pycairo is not
This commit is contained in:
parent
7e6ff2a651
commit
123182d0af
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ if env['PLATFORM'] == 'Darwin':
|
|||
libraries.append('boost_regex%s' % env['BOOST_APPEND'])
|
||||
if env['THREADING'] == 'multi':
|
||||
libraries.append('boost_thread%s' % env['BOOST_APPEND'])
|
||||
if '-DHAVE_PYCAIRO' in env['CXXFLAGS']:
|
||||
if '-DHAVE_CAIRO' in env['CXXFLAGS']:
|
||||
libraries.append([lib for lib in env['LIBS'] if lib.startswith('cairo')])
|
||||
if env['FRAMEWORK_PYTHON']:
|
||||
linkflags = '-F%s -framework Python' % env['FRAMEWORK_SEARCH_PATH']
|
||||
|
|
Loading…
Add table
Reference in a new issue