Compiling python with gnu c++ on macos fails with toolboxglue enabled.

This commit is contained in:
Patrick Gartung 2016-08-31 12:13:08 -05:00 committed by Todd Gamblin
parent 27801c354b
commit e6dc448f18

View file

@ -110,6 +110,8 @@ def install(self, spec, prefix):
'CPPFLAGS=-I{0}'.format(' -I'.join(dp.include for dp in dep_pfxs)), 'CPPFLAGS=-I{0}'.format(' -I'.join(dp.include for dp in dep_pfxs)),
'LDFLAGS=-L{0}'.format(' -L'.join(dp.lib for dp in dep_pfxs)), 'LDFLAGS=-L{0}'.format(' -L'.join(dp.lib for dp in dep_pfxs)),
] ]
if spec.satisfies("platform=darwin") and ('%gcc' in spec):
config_args.append('--disable-toolbox-glue')
if '+ucs4' in spec: if '+ucs4' in spec:
if spec.satisfies('@:2.7'): if spec.satisfies('@:2.7'):