Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ def _populate_hdf5_info(dirstosearch, inc_dirs, libs, lib_dirs):
for direc in inc_dirs:
hdf5_version = get_hdf5_version(direc)
if hdf5_version is not None:
if sys.platform == "cygwin":
_populate_hdf5_info(dirstosearch, inc_dirs, libs, lib_dirs)
break
# if hdf5 not found, search other standard locations (including those specified in env vars).
if hdf5_version is None:
Expand Down Expand Up @@ -353,7 +355,7 @@ def _populate_hdf5_info(dirstosearch, inc_dirs, libs, lib_dirs):
lib_dirs.append(curl_libdir)
inc_dirs.append(curl_incdir)

if sys.platform == 'win32':
if sys.platform == 'win32' or sys.platform == 'cygwin':
runtime_lib_dirs = []
else:
runtime_lib_dirs = lib_dirs
Expand Down
Loading