scons: another workaround for new gdal framework on os x

This commit is contained in:
Dane Springmeyer 2011-02-03 22:07:00 +00:00
parent f1e1900480
commit 4bb735d6c1

View file

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