scons: when parsing xml2-config only pull --cflags to avoid uneeded pollution of other libs on osx (namely libicucore)

This commit is contained in:
Dane Springmeyer 2012-03-21 15:38:32 -07:00
parent d55ad5a4d2
commit 0beca49b2a

View file

@ -1068,7 +1068,7 @@ if not preconfigured:
# libxml2 should be optional but is currently not
# https://github.com/mapnik/mapnik/issues/913
if conf.parse_config('XML2_CONFIG'):
if conf.parse_config('XML2_CONFIG',checks='--cflags'):
env['HAS_LIBXML2'] = True
LIBSHEADERS = [