scons: another workaround for new gdal framework on os x
This commit is contained in:
parent
f1e1900480
commit
4bb735d6c1
1 changed files with 1 additions and 0 deletions
|
@ -529,6 +529,7 @@ def parse_config(context, config, checks='--libs --cflags'):
|
|||
env.ParseConfig(cmd)
|
||||
if not num_libs > env['LIBS']:
|
||||
env['LIBS'].append('gdal')
|
||||
env['LIBPATH'].insert(0,'/Library/Frameworks/GDAL.framework/unix/lib')
|
||||
else:
|
||||
env.ParseConfig(cmd)
|
||||
parsed = True
|
||||
|
|
Loading…
Reference in a new issue