More NetCDF changes

This commit is contained in:
Adam J. Stewart
2016-01-27 16:16:33 -06:00
parent 90750f59c1
commit 6122642b81
3 changed files with 35 additions and 33 deletions

View File

@@ -24,12 +24,13 @@ def url_for_version(self, version):
def install(self, spec, prefix):
config_args = [
'CFLAGS=-fPIC',
'--prefix=%s' % prefix,
'--with-jpeg=%s' % spec['jpeg'].prefix,
'--with-zlib=%s' % spec['zlib'].prefix,
'--disable-netcdf',
'--with-jpeg=%s' % spec['jpeg'].prefix,
'--with-zlib=%s' % spec['zlib'].prefix,
'--disable-netcdf', # must be disabled to build NetCDF with HDF4 support
'--enable-fortran',
'--disable-shared',
'--disable-shared', # fortran and shared libraries are not compatible
'--enable-static',
'--enable-production'
]