- make sure the proj bindings only get built if the python bindings also are.

This commit is contained in:
Jean-Francois Doyon 2006-05-31 23:49:25 +00:00
parent 024f501903
commit 65587c3894

View file

@ -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']: