slepc: set --with-arpack-dir correctly (#20463)

This commit is contained in:
eugeneswalker 2020-12-18 11:03:26 -08:00 committed by GitHub
parent 8755d577c9
commit 2314a20fbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,7 @@ def install(self, spec, prefix):
if '+arpack' in spec:
options.extend([
'--with-arpack-dir=%s' % spec['arpack-ng'].prefix.lib,
'--with-arpack-dir=%s' % spec['arpack-ng'].prefix,
])
if spec.satisfies('@:3.12.99'):
arpackopt = '--with-arpack-flags'