Avoid key error when env var is unset
This commit is contained in:
parent
d5ff7fda6e
commit
8af8c10559
@ -20,7 +20,7 @@ def install(self, spec, prefix):
|
|||||||
# OpenSSL uses a variable APPS in its Makefile. If it happens to be set
|
# OpenSSL uses a variable APPS in its Makefile. If it happens to be set
|
||||||
# in the environment, then this will override what is set in the
|
# in the environment, then this will override what is set in the
|
||||||
# Makefile, leading to build errors.
|
# Makefile, leading to build errors.
|
||||||
del env['APPS']
|
env.pop('APPS', None)
|
||||||
if spec.satisfies("=darwin-x86_64") or spec.satisfies("=ppc64"):
|
if spec.satisfies("=darwin-x86_64") or spec.satisfies("=ppc64"):
|
||||||
# This needs to be done for all 64-bit architectures (except Linux,
|
# This needs to be done for all 64-bit architectures (except Linux,
|
||||||
# where it happens automatically?)
|
# where it happens automatically?)
|
||||||
|
Loading…
Reference in New Issue
Block a user