diff --git a/SConstruct b/SConstruct index ca66b9c3f..735b2267c 100644 --- a/SConstruct +++ b/SConstruct @@ -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']: