darwin: propagate build environment variables for Autotools (#28948)

GraphViz has failures due to overriding the default autoconf build
environment variables.
This commit is contained in:
Seth R. Johnson 2022-02-26 11:19:40 -05:00 committed by GitHub
parent db2340007a
commit 00ed99dc16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,6 +139,9 @@ def autoreconf(self, spec, prefix):
bash('./autogen.sh', 'NOCONFIG')
def setup_build_environment(self, env):
# Set MACOSX_DEPLOYMENT_TARGET to 10.x due to old configure
super(Graphviz, self).setup_build_environment(env)
if '+quartz' in self.spec:
env.set('OBJC', self.compiler.cc)