summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomoyasu Nojiri <68096132+t-nojiri@users.noreply.github.com>2021-03-26 20:52:22 +0900
committerGitHub <noreply@github.com>2021-03-26 12:52:22 +0100
commit1be0bf95b3d052528a9ea648bc18b60e704887c8 (patch)
tree9980b7ae98bc177764d209264cd70491d81ba332
parent3084bd76c1b303e88bdaaf6e6b8afcb6643843cd (diff)
downloadspack-1be0bf95b3d052528a9ea648bc18b60e704887c8.tar.gz
spack-1be0bf95b3d052528a9ea648bc18b60e704887c8.tar.bz2
spack-1be0bf95b3d052528a9ea648bc18b60e704887c8.tar.xz
spack-1be0bf95b3d052528a9ea648bc18b60e704887c8.zip
hdf-eos2: fix build when hdf is built without szip (#21788)
-rw-r--r--var/spack/repos/builtin/packages/hdf-eos2/package.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/hdf-eos2/package.py b/var/spack/repos/builtin/packages/hdf-eos2/package.py
index b241ae8f12..c40868e153 100644
--- a/var/spack/repos/builtin/packages/hdf-eos2/package.py
+++ b/var/spack/repos/builtin/packages/hdf-eos2/package.py
@@ -92,8 +92,5 @@ class HdfEos2(AutotoolsPackage):
if self.spec['zlib']:
extra_args.append('--with-zlib={0}'.format(
self.spec['zlib'].prefix))
- if self.spec['szip']:
- extra_args.append('--with-szlib={0}'.format(
- self.spec['szip'].prefix))
return extra_args