+ link to boost_system if boost_version >= 1.50
This commit is contained in:
parent
e69c44e3d3
commit
4b4cfdd462
1 changed files with 6 additions and 0 deletions
|
@ -47,6 +47,12 @@ libraries = []
|
||||||
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','mapnik','icuuc'])
|
libraries.extend([boost_program_options,'sqlite3','pq','mapnik','icuuc'])
|
||||||
|
|
||||||
|
if env.get('BOOST_LIB_VERSION_FROM_HEADER'):
|
||||||
|
boost_version_from_header = int(env['BOOST_LIB_VERSION_FROM_HEADER'].split('_')[1])
|
||||||
|
if boost_version_from_header >= 50:
|
||||||
|
boost_system = 'boost_system%s' % env['BOOST_APPEND']
|
||||||
|
libraries.extend([boost_system])
|
||||||
|
|
||||||
linkflags = env['CUSTOM_LDFLAGS']
|
linkflags = env['CUSTOM_LDFLAGS']
|
||||||
if env['SQLITE_LINKFLAGS']:
|
if env['SQLITE_LINKFLAGS']:
|
||||||
linkflags.append(env['SQLITE_LINKFLAGS'])
|
linkflags.append(env['SQLITE_LINKFLAGS'])
|
||||||
|
|
Loading…
Reference in a new issue