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$
|
||||
|
||||
from copy import copy
|
||||
|
||||
Import ('env')
|
||||
|
||||
prefix = env['PREFIX']
|
||||
|
@ -36,7 +38,7 @@ source = Split(
|
|||
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']
|
||||
libraries.extend([boost_program_options,'sqlite3','pq','mapnik2'])
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
# $Id$
|
||||
|
||||
import glob
|
||||
from copy import copy
|
||||
|
||||
Import ('env')
|
||||
|
||||
|
@ -36,7 +37,7 @@ source = Split(
|
|||
|
||||
headers = env['CPPPATH']
|
||||
|
||||
libraries = env['LIBMAPNIK_LIBS']
|
||||
libraries = copy(env['LIBMAPNIK_LIBS'])
|
||||
boost_program_options = 'boost_program_options%s' % env['BOOST_APPEND']
|
||||
libraries.extend([boost_program_options,'mapnik2'])
|
||||
|
||||
|
|
Loading…
Reference in a new issue