shapeindex: if statically linking then bring in mapnik dep libs
This commit is contained in:
parent
39eee919e5
commit
e02a4ebd9d
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
|
||||
import os
|
||||
import glob
|
||||
from copy import copy
|
||||
|
||||
Import ('env')
|
||||
|
||||
|
@ -39,6 +40,8 @@ headers = ['#plugins/input/shape'] + env['CPPPATH']
|
|||
boost_program_options = 'boost_program_options%s' % env['BOOST_APPEND']
|
||||
boost_system = 'boost_system%s' % env['BOOST_APPEND']
|
||||
libraries = ['mapnik', boost_program_options, boost_system]
|
||||
if env['RUNTIME_LINK'] == 'static':
|
||||
libraries.extend(copy(env['LIBMAPNIK_LIBS']))
|
||||
|
||||
if env.get('BOOST_LIB_VERSION_FROM_HEADER'):
|
||||
boost_version_from_header = int(env['BOOST_LIB_VERSION_FROM_HEADER'].split('_')[1])
|
||||
|
|
Loading…
Add table
Reference in a new issue