abinit: Fix building with hdf5/netcdf.

This commit is contained in:
fabricio 2019-02-18 19:38:58 -03:00
parent a701c412bc
commit e16f725e37

View File

@ -144,7 +144,7 @@ def configure_args(self):
hdf5 = spec['hdf5:hl']
netcdff = spec['netcdf-fortran:shared']
options.extend([
'--with-netcdf-incs={0}'.format(netcdff.headers.cpp_flags),
'--with-netcdf-incs=-I{0}'.format(netcdff.prefix.include),
'--with-netcdf-libs={0}'.format(
netcdff.libs.ld_flags + ' ' + hdf5.libs.ld_flags
),