summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/build_clib.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/command/build_clib.py')
-rw-r--r--numpy/distutils/command/build_clib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/command/build_clib.py b/numpy/distutils/command/build_clib.py
index 0d49d7ee8..645c6427a 100644
--- a/numpy/distutils/command/build_clib.py
+++ b/numpy/distutils/command/build_clib.py
@@ -79,7 +79,7 @@ class build_clib(old_build_clib):
force=self.force,
requiref90='f90' in languages,
c_compiler=self.compiler)
- if self.compiler is not None:
+ if self.fcompiler is not None:
self.fcompiler.customize(self.distribution)
libraries = self.libraries