summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2016-04-23 15:15:32 -0400
committerTodd Gamblin <tgamblin@llnl.gov>2016-04-23 12:15:32 -0700
commit4e062d86b4213595e74510f9b8d91382ed4e1041 (patch)
tree2cdb07c67be4f09f7308ac7797651dd80a6f65b5 /var
parentd701d2ccf344ff22fee463504dd85e1d0a5bfdc6 (diff)
downloadspack-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.py4
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")