Skip to content

Commit d77dda3

Browse files
author
leaz
committed
Add '.FOR' to src_extensions
The uppercase source extension '.FOR' is also commonly used.
1 parent 1ffe713 commit d77dda3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/distutils/fcompiler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class FCompiler(CCompiler):
196196

197197
pic_flags = [] # Flags to create position-independent code
198198

199-
src_extensions = ['.for', '.ftn', '.f77', '.f', '.f90', '.f95', '.F', '.F90']
199+
src_extensions = ['.for', '.ftn', '.f77', '.f', '.f90', '.f95', '.F', '.F90', '.FOR']
200200
obj_extension = ".o"
201201

202202
shared_lib_extension = get_shared_lib_extension()

0 commit comments

Comments
 (0)