summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh-denpo <57649496+h-denpo@users.noreply.github.com>2020-10-11 06:59:19 +0900
committerGitHub <noreply@github.com>2020-10-10 16:59:19 -0500
commitcd800c20d39e00f1f9e77dd4dc308a03795d6cda (patch)
tree975939e1f096e20f6308ff06ee0277ae8c10d338
parent160c00e3f77ef51b79e04d374b8db2da89dad8ee (diff)
downloadspack-cd800c20d39e00f1f9e77dd4dc308a03795d6cda.tar.gz
spack-cd800c20d39e00f1f9e77dd4dc308a03795d6cda.tar.bz2
spack-cd800c20d39e00f1f9e77dd4dc308a03795d6cda.tar.xz
spack-cd800c20d39e00f1f9e77dd4dc308a03795d6cda.zip
asdcplib: Added PATH of openssl installed by spack to configure_args. (#19243)
-rw-r--r--var/spack/repos/builtin/packages/asdcplib/package.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/asdcplib/package.py b/var/spack/repos/builtin/packages/asdcplib/package.py
index 792648a3b8..abdc7f1c85 100644
--- a/var/spack/repos/builtin/packages/asdcplib/package.py
+++ b/var/spack/repos/builtin/packages/asdcplib/package.py
@@ -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