asdcplib: Added PATH of openssl installed by spack to configure_args. (#19243)

This commit is contained in:
h-denpo 2020-10-11 06:59:19 +09:00 committed by GitHub
parent 160c00e3f7
commit cd800c20d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,3 +21,12 @@ class Asdcplib(AutotoolsPackage):
depends_on('autoconf', type='build')
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('openssl', type=('build', 'link'))
def configure_args(self):
spec = self.spec
args = ['--with-openssl={0}'.format(spec['openssl'].prefix)]
return args