Skip to content

Commit

Permalink
BLD: Don't specify runtime_library_dirs on Cygwin
Browse files Browse the repository at this point in the history
Closes pyproj4#1113 (pyproj4#1113 (comment)), pypa/distutils#171

runtime_library_dirs isn't supported by PE/COFF, used by Windows and Cygwin; it seems to be an ELF thing.
  • Loading branch information
DWesl authored Aug 20, 2022
1 parent 6147e5d commit 81e4d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def get_extension_modules():
ext_options = {
"include_dirs": include_dirs,
"library_dirs": library_dirs,
"runtime_library_dirs": library_dirs if os.name != "nt" else None,
"runtime_library_dirs": library_dirs if os.name != "nt" and sys.platform != "cygwin" else None,
"libraries": get_libraries(library_dirs),
}
# setup cythonized modules
Expand Down

0 comments on commit 81e4d32

Please sign in to comment.