scons/mapnik-config: if agg is built and linked internally do not advertise as a depedency link because it will not be available
This commit is contained in:
parent
5fc9379c82
commit
6b83382f2e
1 changed files with 4 additions and 0 deletions
|
@ -81,6 +81,10 @@ ldflags = config_env['CUSTOM_LDFLAGS'] + ''.join([' -L%s' % i for i in config_en
|
|||
|
||||
dep_libs = ''.join([' -l%s' % i for i in env['LIBMAPNIK_LIBS']])
|
||||
|
||||
if env['INTERNAL_LIBAGG']:
|
||||
dep_libs = dep_libs.replace('-lagg','')
|
||||
|
||||
|
||||
configuration = {
|
||||
"prefix": config_env['PREFIX'],
|
||||
"mapnik_libname": 'mapnik2',
|
||||
|
|
Loading…
Reference in a new issue