netcdf4-python/netcdf4-python-libs.patch

15 lines
601 B
Diff
Raw Permalink Normal View History

2012-09-12 21:30:21 +00:00
diff -up netCDF4-1.0/setup.py.libs netCDF4-1.0/setup.py
--- netCDF4-1.0/setup.py.libs 2012-09-12 15:14:43.024761604 -0600
+++ netCDF4-1.0/setup.py 2012-09-12 15:20:37.741745136 -0600
@@ -149,8 +149,8 @@ NETCDF4_DIR environment variable not set
if netCDF4_libdir is None and netCDF4_dir is not None:
netCDF4_libdir = os.path.join(netCDF4_dir, 'lib')
- libs = ['netcdf','hdf5_hl','hdf5','z']
- lib_dirs = [netCDF4_libdir,HDF5_libdir]
+ libs = ['netcdf']
+ lib_dirs = [netCDF4_libdir]
inc_dirs = [netCDF4_includedir,HDF5_includedir]
# add szip to link if desired.