mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
one last workaround for now to fix potential gdal -framework configuration problem
This commit is contained in:
parent
ba4f6feecc
commit
deab48dddc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user