scons: copy to avoid duplicate libs
This commit is contained in:
parent
f2074ae3af
commit
9ae28abe50
2 changed files with 5 additions and 2 deletions
|
@ -19,6 +19,8 @@
|
||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
|
from copy import copy
|
||||||
|
|
||||||
Import ('env')
|
Import ('env')
|
||||||
|
|
||||||
prefix = env['PREFIX']
|
prefix = env['PREFIX']
|
||||||
|
@ -36,7 +38,7 @@ source = Split(
|
||||||
headers = ['#plugins/input/postgis'] + env['CPPPATH']
|
headers = ['#plugins/input/postgis'] + 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,'sqlite3','pq','mapnik2'])
|
libraries.extend([boost_program_options,'sqlite3','pq','mapnik2'])
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
|
from copy import copy
|
||||||
|
|
||||||
Import ('env')
|
Import ('env')
|
||||||
|
|
||||||
|
@ -36,7 +37,7 @@ source = Split(
|
||||||
|
|
||||||
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'])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue