Skip to content

Commit d7deb52

Browse files
committed
BLD: Tell fortran compiler Cygwin doesn't support rpath.
Cygwin inherits Windows's lack of RPATH.
1 parent b797a0c commit d7deb52

File tree

1 file changed

+1
-1
lines changed
  • numpy/distutils/fcompiler

1 file changed

+1
-1
lines changed

numpy/distutils/fcompiler/gnu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def get_flags_arch(self):
247247
return []
248248

249249
def runtime_library_dir_option(self, dir):
250-
if sys.platform == 'win32':
250+
if sys.platform == 'win32' or sys.platform == 'cygwin':
251251
# Linux/Solaris/Unix support RPATH, Windows does not
252252
raise NotImplementedError
253253

0 commit comments

Comments
 (0)