one last workaround for now to fix potential gdal -framework configuration problem

This commit is contained in:
Dane Springmeyer 2011-02-06 05:30:31 +00:00
parent ba4f6feecc
commit deab48dddc

View File

@ -455,6 +455,8 @@ def parse_config(context, config, checks='--libs --cflags'):
if not num_libs > env['LIBS']:
env['LIBS'].append('gdal')
env['LIBPATH'].insert(0,'/Library/Frameworks/GDAL.framework/unix/lib')
if 'GDAL' in env.get('FRAMEWORKS',[]):
env["FRAMEWORKS"].remove("GDAL")
else:
env.ParseConfig(cmd)
parsed = True