summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler
diff options
context:
space:
mode:
authorDWesl <22566757+DWesl@users.noreply.github.com>2021-02-01 12:08:13 -0500
committerDWesl <22566757+DWesl@users.noreply.github.com>2021-07-21 10:05:39 -0400
commitd7deb52e6eba8419f38953b6e48b79dc70928a31 (patch)
treed57548bff722cd6a923adfd3f2a518fa974cc995 /numpy/distutils/fcompiler
parentb797a0cb97a8a9e7e36962dc8c37c075967aa88b (diff)
downloadnumpy-d7deb52e6eba8419f38953b6e48b79dc70928a31.tar.gz
BLD: Tell fortran compiler Cygwin doesn't support rpath.
Cygwin inherits Windows's lack of RPATH.
Diffstat (limited to 'numpy/distutils/fcompiler')
-rw-r--r--numpy/distutils/fcompiler/gnu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py
index eac4cbb47..02372f5e6 100644
--- a/numpy/distutils/fcompiler/gnu.py
+++ b/numpy/distutils/fcompiler/gnu.py
@@ -247,7 +247,7 @@ class GnuFCompiler(FCompiler):
return []
def runtime_library_dir_option(self, dir):
- if sys.platform == 'win32':
+ if sys.platform == 'win32' or sys.platform == 'cygwin':
# Linux/Solaris/Unix support RPATH, Windows does not
raise NotImplementedError