Skip to content

Commit

Permalink
BLD: Don't specify runtime_library_dirs on Cygwin (#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
DWesl committed Aug 21, 2022
1 parent 6147e5d commit 5b24799
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Expand Up @@ -167,7 +167,9 @@ 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 5b24799

Please sign in to comment.