hdf-eos5: fix hdf5 dependency (#21789)

This commit is contained in:
Tomoyasu Nojiri 2021-02-19 17:16:13 +09:00 committed by GitHub
parent 901aefc6a5
commit 310e82c863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ class HdfEos5(AutotoolsPackage):
msg='At least one of +static or +shared must be set')
# Build dependencies
depends_on('hdf5')
depends_on('hdf5+hl')
# The standard Makefile.am, etc. add a --single_module flag to LDFLAGS
# to pass to the linker.
@ -95,8 +95,5 @@ def configure_args(self):
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