- make sure the proj bindings only get built if the python bindings also are.
This commit is contained in:
parent
024f501903
commit
65587c3894
1 changed files with 4 additions and 4 deletions
|
@ -128,6 +128,10 @@ if 'python' in env['BINDINGS']:
|
|||
|
||||
SConscript('bindings/python/SConscript')
|
||||
|
||||
if 'proj' in env['LIBS']:
|
||||
SConscript('bindings/python/pyprojection/SConscript')
|
||||
env['LIBS'].remove('proj')
|
||||
|
||||
env = conf.Finish()
|
||||
|
||||
# Setup the c++ args for our own codebase
|
||||
|
@ -147,10 +151,6 @@ if 'boost_program_options%s' % env['BOOST_APPEND'] in env['LIBS']:
|
|||
SConscript('utils/shapeindex/SConscript')
|
||||
env['LIBS'].remove('boost_program_options%s' % env['BOOST_APPEND'])
|
||||
|
||||
if 'proj' in env['LIBS']:
|
||||
SConscript('bindings/python/pyprojection/SConscript')
|
||||
env['LIBS'].remove('proj')
|
||||
|
||||
# Build the input plug-ins
|
||||
|
||||
if 'postgis' in inputplugins and 'pq' in env['LIBS']:
|
||||
|
|
Loading…
Reference in a new issue