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)
|
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
|
||||||
|
|
Loading…
Reference in a new issue