self has no attribute named satisfies. (#7826)

This commit is contained in:
健美猫 2018-04-20 01:43:12 +08:00 committed by Adam J. Stewart
parent 26e9b3b74d
commit c8e3c94c6f

View File

@ -75,7 +75,7 @@ def configure_args(self):
spec = self.spec
args = ['--with-zlib={0}'.format(spec['zlib'].prefix)]
if self.satisfies('+darwinssl'):
if spec.satisfies('+darwinssl'):
args.append('--with-darwinssl')
else:
args.append('--with-ssl={0}'.format(spec['openssl'].prefix))