diff options
author | Matthias Wolf <matthias.wolf@epfl.ch> | 2020-07-29 19:53:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 10:53:01 -0700 |
commit | 90648bb477dd76284acc059eb90b6abc7b7d45e6 (patch) | |
tree | f5d6d9c8c94eb9bc8af4174e0399c7a2d8c9a9f9 /var | |
parent | d1494fe8da39ecadef706397a74784da4cb13bde (diff) | |
download | spack-90648bb477dd76284acc059eb90b6abc7b7d45e6.tar.gz spack-90648bb477dd76284acc059eb90b6abc7b7d45e6.tar.bz2 spack-90648bb477dd76284acc059eb90b6abc7b7d45e6.tar.xz spack-90648bb477dd76284acc059eb90b6abc7b7d45e6.zip |
qt: fix build with ~ssl. (#17767)
OpenSSL was pulled from the spec too early, leading to failures when
attempting to build with ~ssl.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/qt/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py index 6081911e4a..17495dda39 100644 --- a/var/spack/repos/builtin/packages/qt/package.py +++ b/var/spack/repos/builtin/packages/qt/package.py @@ -363,7 +363,6 @@ class Qt(Package): @property def common_config_args(self): # incomplete list is here http://doc.qt.io/qt-5/configure-options.html - openssl = self.spec['openssl'] config_args = [ '-prefix', self.prefix, '-v', @@ -389,6 +388,7 @@ class Qt(Package): config_args.append('-no-freetype') if '+ssl' in self.spec: + openssl = self.spec['openssl'] config_args.extend([ '-openssl-linked', openssl.libs.search_flags, |