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:
Dane Springmeyer 2011-08-22 16:58:40 +00:00
parent 5fc9379c82
commit 6b83382f2e

View file

@ -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']]) dep_libs = ''.join([' -l%s' % i for i in env['LIBMAPNIK_LIBS']])
if env['INTERNAL_LIBAGG']:
dep_libs = dep_libs.replace('-lagg','')
configuration = { configuration = {
"prefix": config_env['PREFIX'], "prefix": config_env['PREFIX'],
"mapnik_libname": 'mapnik2', "mapnik_libname": 'mapnik2',