netcdf4-python/netcdf4-python-libs.patch

13 lines
646 B
Diff
Raw Normal View History

diff -up netcdf4-python-1.2.2rel/setup.py.libs netcdf4-python-1.2.2rel/setup.py
--- netcdf4-python-1.2.2rel/setup.py.libs 2016-02-05 08:33:54.977139095 -0700
+++ netcdf4-python-1.2.2rel/setup.py 2016-02-05 08:35:07.630694784 -0700
@@ -307,7 +307,7 @@ NETCDF4_DIR environment variable not set
if sys.platform=='win32':
libs = ['netcdf','hdf5_hl','hdf5','zlib']
else:
- libs = ['netcdf','hdf5_hl','hdf5','z']
+ libs = ['netcdf']
if netCDF4_libdir is not None: lib_dirs=[netCDF4_libdir]
if HDF5_libdir is not None: lib_dirs.append(HDF5_libdir)
if netCDF4_incdir is not None: inc_dirs=[netCDF4_incdir]