scons: correctly propagate DEFINES across builds

This commit is contained in:
Dane Springmeyer
2013-07-23 20:03:00 -04:00
parent 32464c5a4b
commit 4f01eb05b1
5 changed files with 5 additions and 1 deletions

View File

@ -36,6 +36,7 @@ source = Split(
)
program_env['CXXFLAGS'] = copy(env['LIBMAPNIK_CXXFLAGS'])
program_env.Append(CPPDEFINES = env['LIBMAPNIK_DEFINES'])
if env['HAS_CAIRO']:
program_env.PrependUnique(CPPPATH=env['CAIRO_CPPPATHS'])