scons: copy env setting

This commit is contained in:
Dane Springmeyer 2011-08-12 20:01:39 +00:00
parent da834706c6
commit c4deda8fce

View file

@ -19,6 +19,8 @@
# #
# $Id$ # $Id$
from copy import copy
Import ('env') Import ('env')
prefix = env['PREFIX'] prefix = env['PREFIX']
@ -34,7 +36,7 @@ demo_env = env.Clone()
headers = env['CPPPATH'] headers = env['CPPPATH']
libraries = env['LIBMAPNIK_LIBS'] libraries = copy(env['LIBMAPNIK_LIBS'])
boost_program_options = 'boost_program_options%s' % env['BOOST_APPEND'] boost_program_options = 'boost_program_options%s' % env['BOOST_APPEND']
libraries.extend([boost_program_options,'mapnik2']) libraries.extend([boost_program_options,'mapnik2'])