scons: fix cxxflags concatenation

This commit is contained in:
Dane Springmeyer 2011-08-29 23:02:57 +00:00
parent 2c75feed65
commit ecbfc4cdb4

View file

@ -53,9 +53,9 @@ def write_config(configuration,template,config_file):
# todo - refine this list
cpp_paths = ''.join([' -I%s' % i for i in config_env['CPPPATH'] if not i.startswith('#')])
other_includes = ''.join([' -I%s' % i for i in config_env['CPPPATH'] if not i.startswith('#')])
other_includes = config_env['LIBMAPNIK_CXXFLAGS'] + cpp_paths
other_includes += ' '.join(config_env['LIBMAPNIK_CXXFLAGS'])
ldflags = config_env['CUSTOM_LDFLAGS'] + ''.join([' -L%s' % i for i in config_env['LIBPATH'] if not i.startswith('#')])