abinit: Fix building with hdf5/netcdf.
This commit is contained in:
parent
a701c412bc
commit
e16f725e37
@ -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
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user