diff options
author | Erik Schnetter <schnetter@gmail.com> | 2016-04-23 15:15:32 -0400 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-04-23 12:15:32 -0700 |
commit | 4e062d86b4213595e74510f9b8d91382ed4e1041 (patch) | |
tree | 2cdb07c67be4f09f7308ac7797651dd80a6f65b5 /var | |
parent | d701d2ccf344ff22fee463504dd85e1d0a5bfdc6 (diff) | |
download | spack-4e062d86b4213595e74510f9b8d91382ed4e1041.tar.gz spack-4e062d86b4213595e74510f9b8d91382ed4e1041.tar.bz2 spack-4e062d86b4213595e74510f9b8d91382ed4e1041.tar.xz spack-4e062d86b4213595e74510f9b8d91382ed4e1041.zip |
Refine wget's OpenSSL configuration options (#786)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/wget/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/wget/package.py b/var/spack/repos/builtin/packages/wget/package.py index 55728b0515..4b92659478 100644 --- a/var/spack/repos/builtin/packages/wget/package.py +++ b/var/spack/repos/builtin/packages/wget/package.py @@ -17,6 +17,8 @@ class Wget(Package): def install(self, spec, prefix): configure("--prefix=%s" % prefix, - "--with-ssl=openssl") + "--with-ssl=openssl", + "OPENSSL_CFLAGS=-I%s" % spec['openssl'].prefix.include, + "OPENSSL_LIBS=-L%s -lssl -lcrypto -lz" % spec['openssl'].prefix.lib) make() make("install") |