fix up compilation of rundemo based on cairo availability - closes #285

This commit is contained in:
Dane Springmeyer 2009-07-01 02:24:13 +00:00
parent 1ce6266738
commit e97df7a721

View file

@ -36,12 +36,13 @@ boost_thread = 'boost_thread%s' % env['BOOST_APPEND']
libraries = [boost_thread,'mapnik']
if env['CAIRO']:
libraries.append('cairo')
if '-DHAVE_CAIRO' in env['CXXFLAGS']:
# add cairo and cairomm-1.0 to libs
libraries.append([lib for lib in env['LIBS'] if lib.startswith('cairo')])
if env['PLATFORM'] == 'Darwin':
libraries.append('icuuc')
libraries.append('icudata')
#libraries.append('icudata')
rundemo = env.Program('rundemo', source, CPPPATH=headers, LIBS=libraries)