netcdf4-python/netcdf4-python-libs.patch

13 lines
594 B
Diff
Raw Permalink Normal View History

2017-06-20 20:06:32 +00:00
diff -up netcdf4-python-1.2.9rel/setup.py.libs netcdf4-python-1.2.9rel/setup.py
--- netcdf4-python-1.2.9rel/setup.py.libs 2017-06-20 12:43:57.950231729 -0600
+++ netcdf4-python-1.2.9rel/setup.py 2017-06-20 12:48:52.764137258 -0600
@@ -308,7 +308,7 @@ NETCDF4_DIR environment variable not set
if sys.platform=='win32':
2017-06-20 20:06:32 +00:00
libs = ['netcdf', 'hdf5_hl', 'hdf5', 'zlib']
else:
2017-06-20 20:06:32 +00:00
- libs = ['netcdf', 'hdf5_hl', 'hdf5', 'z']
+ libs = ['netcdf']
2017-06-20 20:06:32 +00:00
if netCDF4_libdir is not None: lib_dirs = [netCDF4_libdir]
if HDF5_libdir is not None: lib_dirs.append(HDF5_libdir)