From ec8588ffad4ba4d2efac6263290002f11717778d Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 1 Sep 2011 15:06:11 +0000 Subject: [PATCH] scons: fix spacing between cppaths and cxxflags --- utils/mapnik-config/build.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/utils/mapnik-config/build.py b/utils/mapnik-config/build.py index c83a099d6..9dad9a22a 100644 --- a/utils/mapnik-config/build.py +++ b/utils/mapnik-config/build.py @@ -53,13 +53,19 @@ def write_config(configuration,template,config_file): # todo - refine this list + other_includes = ''.join([' -I%s' % i for i in config_env['CPPPATH'] if not i.startswith('#')]) +other_includes += ' ' + other_includes += ' '.join(config_env['LIBMAPNIK_CXXFLAGS']) +other_includes += ' ' + if config_env['HAS_CAIRO']: other_includes += ''.join([' -I%s' % i for i in env['CAIROMM_CPPPATHS'] if not i.startswith('#')]) + ldflags = config_env['CUSTOM_LDFLAGS'] + ''.join([' -L%s' % i for i in config_env['LIBPATH'] if not i.startswith('#')]) dep_libs = ''.join([' -l%s' % i for i in env['LIBMAPNIK_LIBS']])